VirtualBox Managing an Environment from Command Line

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

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
#