diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-21 08:23:42 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-21 08:23:42 -0200 |
commit | 816c1c1f5d02b6e54b73ee475c3884666f3c00b5 (patch) | |
tree | 9f04bd1ff2a9e2762491794d2e2d59d3ddeaf193 /kvmx | |
parent | e86c93ccf2d32861af4f6acec536acfbe955a752 (diff) | |
download | kvmx-816c1c1f5d02b6e54b73ee475c3884666f3c00b5.tar.gz kvmx-816c1c1f5d02b6e54b73ee475c3884666f3c00b5.tar.bz2 |
You asked to ssh into the box, so lets ensure it is up
Diffstat (limited to 'kvmx')
-rwxr-xr-x | kvmx | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -516,8 +516,10 @@ function kvmx_usage { # Log into the guest using SSH function kvmx_ssh { if ! kvmx_running; then - echo "$BASENAME: guest $VM is not running" - exit 1 + kvmx up $VM || exit 1 + #kvmx_up || exit 1 + #echo "$BASENAME: guest $VM is not running" + #exit 1 fi if [ "$ssh_support" != "y" ]; then |