Skip to content

Commit

Permalink
Update qovery demo for WSL and MacOs
Browse files Browse the repository at this point in the history
  • Loading branch information
erebe committed Apr 29, 2024
1 parent b29bb74 commit 14f0bfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion cmd/demo_scripts/create_qovery_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,12 @@ setup_network() {
# MacOs
set -x
sudo ifconfig lo0 alias 172.42.0.3/32 up || exit 1
elif grep -q Microsoft /proc/version; then
elif grep -qi microsoft /proc/version; then
# Wsl
echo '******** PLEASE READ ********'
echo 'For Qovery url to work outside WSL (from your windows host). You need to run this command within an administrator terminal'
echo 'netsh interface ipv4 add address name="Loopback Pseudo-Interface 1" address=172.42.0.3 mask=255.255.255.255 skipassource=true'
echo '******** PLEASE READ ********'
set -x
sudo ip addr add 172.42.0.3/32 dev lo || exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion pkg/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

func GetCurrentVersion() string {
return "0.90.3" // ci-version-check
return "0.90.4" // ci-version-check
}

func GetLatestOnlineVersionUrl() (string, error) {
Expand Down

0 comments on commit 14f0bfe

Please sign in to comment.