From 816c1c1f5d02b6e54b73ee475c3884666f3c00b5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 21 Nov 2017 08:23:42 -0200 Subject: You asked to ssh into the box, so lets ensure it is up --- kvmx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- cgit v1.2.3