Joined April 2012
·

Andrei Subbota

kaize
·
Russia, Samara
·
·
·

Posted to Vagrant tips over 1 year ago

If you have a box on a remote server and it gets stuck at boot time, you can run it with the RDP-server.

First, you need install Oracle Extension Pack

# VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.2.16-86992.vbox-extpack

Next step, is to get VirtualBox name for vagrant box:

# VBoxManage list vms
"vagrant_1373795168" {e76864cc-ee28-46f3-86a6-7b684b299f3a}

Finally, start your box directly from VirtualBox

# VBoxHeadless --startvm "vagrant_1373795168" -v on --vrdeproperty "TCP/Address"=192.168.0.231 --vrdeproperty "TCP/Ports"=3389 --vrdeproperty "VNCPassword"=somepass

Now you can connect to the box using RDP client (http://cord.sourceforge.net/ for MacOS for example).

Achievements
116 Karma
2,066 Total ProTip Views
Interests & Skills