VirtualBox Managing an Environment from Command Line: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
* [[VirtualBox CLI#Managing_an_Environment_from_Command_Line]] | * [[VirtualBox CLI#Managing_an_Environment_from_Command_Line]] | ||
=Start | =Start an Environment= | ||
<pre> | |||
VBoxManage startvm lb.modcluster.local --type headless | |||
VBoxManage startvm ap1.modcluster.local --type headless | |||
VBoxManage startvm ap2.modcluster.local --type headless | |||
</pre> | |||
=Stop an Environment= | |||
<pre> | <pre> | ||
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 | |||
</pre> | </pre> |
Revision as of 06:04, 8 January 2016
Internal
- VirtualBox Operations#Managing_an_Environment_from_Command_Line
- VirtualBox CLI#Managing_an_Environment_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