VirtualBox Managing an Environment from Command Line: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 12: | Line 12: | ||
<pre> | <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:19, 8 January 2016
Internal
- VirtualBox Operations#Managing_an_Environment_from_Command_Line
- VirtualBox CLI#Managing_an_Environment_from_Command_Line
Start an Environment
Stop an Environment
#!/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 #