Regardless of if you create a new VM or import an old one, you can start it with the command:
VBoxHeadless --startvm "Ubuntu 11.04 Server"
To stop a VM, run
VBoxManage controlvm "Ubuntu 11.04 Server" poweroff
To pause a VM, run
VBoxManage controlvm "Ubuntu 11.04 Server" pause
To reset a VM, run
VBoxManage controlvm "Ubuntu 11.04 Server" reset
To learn more about VBoxHeadless, take a look at
VBoxHeadless --help
Star headless on terminal with nohup command:
nohup VBoxHeadless --startvm "Ubuntu 11.04 Server" &
No comments:
Post a Comment