VirtualBox Managing an Environment from Command Line: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 1: Line 1:
=Internal=
=Internal=


* [[https://kb.novaordis.com/index.php/VirtualBox_Operations#Managing_an_Environment_from_Command_Line|VirtualBox Operations]]
* [[VirtualBox_Operations#Managing_an_Environment_from_Command_Line|VirtualBox Operations]]
* [[VirtualBox CLI#Managing_an_Environment_from_Command_Line]]
* [[VirtualBox CLI#Managing_an_Environment_from_Command_Line]]



Revision as of 18:38, 24 May 2017

Internal

Overview

For more details on starting a VM from command line, see

Starting VMs from Command Line

Start an Environment

VBoxManage startvm lb.modcluster.local --type headless
VBoxManage startvm ap1.modcluster.local --type headless
VBoxManage startvm ap2.modcluster.local --type headless

Stop an Environment

ssh -o ConnectTimeout=1 -t root@172.20.2.43 sudo -n init 0
ssh -o ConnectTimeout=1 -t root@172.20.2.42 sudo -n init 0
ssh -o ConnectTimeout=1 -t root@172.20.2.41 sudo -n init 0