Skip to content

Instantly share code, notes, and snippets.

@raymondbutcher
Last active December 15, 2015 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raymondbutcher/f4b877ea6a8b7cc67f62 to your computer and use it in GitHub Desktop.
Save raymondbutcher/f4b877ea6a8b7cc67f62 to your computer and use it in GitHub Desktop.
Raymonds-MacBook-Air:~ raymond$ vagrant -v
Vagrant version 1.0.6
Raymonds-MacBook-Air:~ raymond$ mkdir vagrant10
Raymonds-MacBook-Air:~ raymond$ cd vagrant10/
Raymonds-MacBook-Air:vagrant10 raymond$ vagrant init
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
Raymonds-MacBook-Air:vagrant10 raymond$ sed -e 's/config.vm.box = "base"/config.vm.box = "sl6"/' -i "" Vagrantfile
Raymonds-MacBook-Air:vagrant10 raymond$ vagrant up
[default] Importing base box 'sl6'...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 4.1.12
VirtualBox Version: 4.2.8
[default] Matching MAC address for NAT networking...
[default] Clearing any previously set forwarded ports...
[default] Fixed port collision for 22 => 2222. Now on port 2200.
[default] Forwarding ports...
[default] -- 22 => 2200 (adapter 1)
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
Raymonds-MacBook-Air:vagrant10 raymond$ vagrant reload
[default] Attempting graceful shutdown of VM...
[default] Clearing any previously set forwarded ports...
[default] Fixed port collision for 22 => 2222. Now on port 2200.
[default] Forwarding ports...
[default] -- 22 => 2200 (adapter 1)
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
Raymonds-MacBook-Air:vagrant10 raymond$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment