Quick fix for Windows when using Vagrant 1.0.1
More Vagrant v0.9 fixes
@vagrant_env.config.vm.boot_mode no longer works; change config_boot_mode to point to the new location for VM configuration. 'headless' configuration is now called 'headless' (potentially in addition to 'vrdp'). Add that to the config_boot_mode case handler.
@vagrant_env.vms[boxname.to_sym].vm no longer has a name attribute; refer to VM's by UUID so that this works again. Rename 'instance_name' to 'instance_uuid' to better reflect what's going on.
Typo fix and wording/punctuation changes
…tion changes since I was in the neighbourhood.
Fix snapshot command due to VirtualBox 4.1 bug
This grabs the config.vm.boot_mode setting out of the environment's Vagrantfile and restarts the VM using it's normal configuration. Defaults to headless if an invalid option as set.
VirtualBox errors out if a snapshot rollback is attempted before the poweroff has completed
It's not valid for VirtualBox 4.1.2 (and probably wasn't for 4.1.0; it just didn't blow up)
This works around a bug in VirtualBox 4.1 where taking a live snapshot throws 'VERR_SSM_LIVE_GURU_MEDITATION' and/or 'VERR_VMM_RING0_ASSERTION' errors. Snapshots taken either cold or via the VirtualBox GUI would work fine. Refer: http://www.virtualbox.org/ticket/9326 http://www.virtualbox.org/ticket/9255