Skip to content

Instantly share code, notes, and snippets.

@devinceble
Forked from garthk/profile
Last active August 29, 2015 14:24
Show Gist options
  • Save devinceble/1b2d89fe3cf77e72d174 to your computer and use it in GitHub Desktop.
Save devinceble/1b2d89fe3cf77e72d174 to your computer and use it in GitHub Desktop.
wait4eth1() {
CNT=0
until ip a show eth1 | grep -q UP
do
[ $((CNT++)) -gt 60 ] && break || sleep 1
done
sleep 1
}
wait4eth1
@devinceble
Copy link
Author

boot2docker ssh
sudo curl -o /var/lib/boot2docker/profile https://gist.githubusercontent.com/devinceble/1b2d89fe3cf77e72d174/raw/3d09c77aae38b4f2809d504784965f5a16f2de4c/profile
boot2docker restart
boot2docker shellinit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment