Skip to content

Instantly share code, notes, and snippets.

@tanb
Last active December 30, 2016 22:39
Show Gist options
  • Save tanb/068b5fdeed013aa659bac1d15568e689 to your computer and use it in GitHub Desktop.
Save tanb/068b5fdeed013aa659bac1d15568e689 to your computer and use it in GitHub Desktop.
Vagrant

Install vagrant

 $ brew cask install vagrant
==> Downloading https://releases.hashicorp.com/vagrant/1.8.7/vagrant_1.8.7.dmg
######################################################################## 100.0%
==> Verifying checksum for Cask vagrant
==> Running installer for vagrant; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Password:
==> installer: Package name is Vagrant
==> installer: Upgrading at base path /
==> installer: The upgrade was successful.
🍺  vagrant was successfully installed!

Can't add vagrant box

http://stackoverflow.com/questions/40477731/mac-osx-sierra-cant-add-vagrant-box-laravel-homestead-due-to-needing-curl-v-9

sudo rm -rf /opt/vagrant/embedded/bin/curl

box add

vagrant box add tanb/FreeBSD-10.3-RELEASE-p11

vagrant init

mkdir Vagrant
cd Vagrant
vagrant init tanb/FreeBSD-10.3-RELEASE-p11

Vagrantfile

 Vagrant.configure("2") do |config|
+  config.ssh.shell = "sh"
   # The most common configuration options are documented and commented below.

vagrant up

vagrant up

vagrant ssh

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