manage virtualbox VMs remotely?

Andrew J. Caines Ubuntu at halplant.com
Sun Mar 27 15:47:48 UTC 2016


Karl,

> Not that long ago someone on this mailing list (I think) mentioned a 
> tool that allowed remote management of VirtualBox VMs. ... Does
> anyone know of such a thing?

I'm not sure what tool you have in mind, but there is little easier for
managing VMs on a host running VirtualBox than logging in with ssh and
using VBoxManage, e.g.

client$ ssh vboxhost
...
vboxhost$ VBoxManage list vms
"FreeBSD10" {af196c2b-8100-480f-86a9-aba4657069e6}
"CentOS6" {2aa141c3-13d6-4738-9995-f47c6ab62224}
"CentOS7" {e82271d9-431e-4bc3-a094-5869587e71da}
"OL6" {c4e49914-d358-4bd3-a201-f37ac2eb07e1}
"OL7" {660eadee-ee8a-4e9a-821f-9ef2ddb3b92b}
"Debian7" {87c6c341-e981-4ae4-83e0-8311ccbd0518}
"Debian8" {52996338-a03a-49c2-a2a2-2c4c2a042526}
vboxhost$ VBoxManage list runningvms
vboxhost$ VBoxManage startvm FreeBSD10 --type headless
Waiting for VM "FreeBSD10" to power on...
VM "FreeBSD10" has been successfully started.
vboxhost$ VBoxManage list runningvms
"FreeBSD10" {af196c2b-8100-480f-86a9-aba4657069e6}
vboxhost$ VBoxManage controlvm FreeBSD10 acpipowerbutton
vboxhost$ VBoxManage list runningvms
vboxhost$

Getting console on the running VMs is a separate, but well documented
matter.


-- 
-Andrew J. Caines-   Unix Systems Engineer   A.J.Caines at halplant.com
  "Machines take me by surprise with great frequency" - Alan Turing



More information about the ubuntu-users mailing list