RDP-server on Vagrant box
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).
Written by Andrei Subbota
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vagrant
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#