VirtualBox Managing an Environment from Command Line: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
* [[VirtualBox CLI#Managing_an_Environment_from_Command_Line]]
* [[VirtualBox CLI#Managing_an_Environment_from_Command_Line]]


=Start an Environment=
=Start/Stop an Environment=


<pre>
<pre>
</pre>
=Stop an Environment=
<pre>
#!/bin/bash
ssh -o ConnectTimeout=2  -t service-user@<ip-address> sudo -n init 0
# alternative
# ssh -o ConnectTimeout=2  -t root@<ip-address> init 0
#
# do the same for all other machines
#
</pre>
</pre>

Revision as of 05:39, 8 January 2016