Start Virtual Machine from command-line
Posted: 9. Nov 2016, 16:04
Hi!
I am new to the Forum. I have the following configuration:
Host OS: Ubuntu 14.04.5 LTS
VirtualBox version: 4.3.36_Ubuntur105129 (output of vboxmanage --version)
I would like to start a Virtual Machine without using the GUI. For example, I would like to connect to the host system through ssh and be able to run a headless VM. I know that the command should be
If I try this, according to the text output the machine has successfully started. But if I try to ping the machine it doesn't respond; if I try with
the result is 0 (the machine is not running). Of course, if I load VirtualBox with the graphical interface and I start from that the VM, it correctly starts and I can verify it.
Did I use the wrong command? What can be the problem and how to debug it?
Thank you anyway,
Luke
I am new to the Forum. I have the following configuration:
Host OS: Ubuntu 14.04.5 LTS
VirtualBox version: 4.3.36_Ubuntur105129 (output of vboxmanage --version)
I would like to start a Virtual Machine without using the GUI. For example, I would like to connect to the host system through ssh and be able to run a headless VM. I know that the command should be
Code: Select all
vboxmanage startvm <machinename> -type headlessCode: Select all
vboxmanage showvminfo "machinename" | grep -c "running (since"Did I use the wrong command? What can be the problem and how to debug it?
Thank you anyway,
Luke