VirtualBox Managing an Environment from Command Line

From NovaOrdis Knowledge Base
Revision as of 17:06, 5 April 2017 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Overview

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

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