diff options
-rwxr-xr-x | kvmx | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -620,7 +620,8 @@ function kvmx_usage { # Log into the guest using SSH function kvmx_ssh { - if ! kvmx_running; then + if ! kvmx_running || kvmx_suspended; then + echo "$BASENAME: $VM was not running, trying to start it..." kvmx up $VM || exit 1 #kvmx_up || exit 1 #echo "$BASENAME: guest $VM is not running" |