Vagrant::Config.run do |config|
config.vm.box = "precise64"
config.vm.network :bridged, :bridge => "network device name", :adapter => 2, :mac => "080027XXXXXX"
config.vm.boot_mode = :gui
config.vm.define :web do |web_config|
end
end
C:\Users\User\vbox\precise66>vagrant up web
There were warnings and/or errors while loading your Vagrantfile
for the machine 'web'.
Your Vagrantfile was written for an earlier version of Vagrant,
and while Vagrant does the best it can to remain backwards
compatible, there are some cases where things have changed
significantly enough to warrant a message. These messages are
shown below.
Warnings:
* Unknown configuration section 'provision'. If this section was part of
a Vagrant 1.0.x plugin, note that 1.0.x plugins are incompatible with 1.1+
Bringing machine 'web' up with 'virtualbox' provider...
[web] Clearing any previously set forwarded ports...
[web] Creating shared folders metadata...
[web] Clearing any previously set network interfaces...
[web] Preparing network interfaces based on configuration...
[web] Forwarding ports...
[web] -- 22 => 2222 (adapter 1)
[web] Booting VM...
[web] Waiting for machine to boot. This may take a few minutes...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.ssh.timeout" value) time period. This can
mean a number of things.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.ssh.timeout") value.