Skip to content

Commit

Permalink
Update run-on-macos.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mzz2017 committed Apr 17, 2023
1 parent d9a1471 commit ef762cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/run-on-macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ mkdir -p /Users/Shared/bin
cat << 'EOF' > /Users/Shared/bin/dae-network-update.sh
#!/bin/sh
set -ex
export PATH=$PATH:/opt/local/bin/
export PATH=$PATH:/opt/local/bin/:/opt/homebrew/bin/
dae_ip=$(limactl shell dae ip --json addr | limactl shell dae jq -cr '.[] | select( .ifname == "lima0" ).addr_info | .[] | select( .family == "inet" ).local')
current_gateway=$(route -n get default|grep gateway|rev|cut -d' ' -f1|rev)
networksetup -getdnsservers Wi-Fi | cut -d" " -f1 | grep -E '\.|:' && dns_override=1
Expand Down

0 comments on commit ef762cc

Please sign in to comment.