##Install Homebrew
The missing package manager for OS X.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
##Install VirtualBox 4.3.10 or greater
With Homebrew, it’s trivial to install Virtualbox which is a prerequisite to running vagrant on OSX.
brew update
brew install caskroom/cask/brew-cask
brew cask install virtualbox
##Install Vagrant 1.6 or greater
Don't know what Vagrant for? You must be kidding, get out of here!
##Install etcdctl and fleetctl
brew install go etcdctl fleetctl
etcdctl --version
fleetctl version
Set fleet tunnel for vagrant coreos:
export FLEETCTL_TUNNEL=localhost:$(vagrant ssh-config | grep Port | head -1 | awk '{print $2}')
You need to fresh fleetctl known_hosts after vagrant destroy and up:
rm ~/.fleetctl/known_hosts
You may like to adding the SkyDNS as a local dns server.
Follow the instruction on Editing DNS and search domain settings on Mac OS X
add '172.17.8.101' to DNS Servers # assuming skydns is running on 172.17.8.101
add 'docker.local' to Search Domains # assuming the skydns auth domain is docker.local
This would enable you to address services registered with SkyDNS by name/fqdn on the host, without touching /etc/hosts.