From: Silvio Rhatto Date: Tue, 21 Nov 2017 10:23:42 +0000 (-0200) Subject: You asked to ssh into the box, so lets ensure it is up X-Git-Tag: 0.1.0~338 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=816c1c1f5d02b6e54b73ee475c3884666f3c00b5;p=kvmx.git You asked to ssh into the box, so lets ensure it is up --- diff --git a/kvmx b/kvmx index f2c73a0..0ce6550 100755 --- a/kvmx +++ b/kvmx @@ -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