在 Mac OS X 10.9.3 上
从VagrantCloud 中挑选了一个盒子
$ vagrant init chef/freebsd-9.2-i386
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.
Run Code Online (Sandbox Code Playgroud)
$ ls -al
-rw-r--r-- 1 joel staff 4831 Jun 5 17:17 Vagrantfile
Run Code Online (Sandbox Code Playgroud)
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "chef/freebsd-9.2-i386"
end
Run Code Online (Sandbox Code Playgroud)
$ vagrant …Run Code Online (Sandbox Code Playgroud)