aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx8
1 files changed, 8 insertions, 0 deletions
diff --git a/kvmx b/kvmx
index a723a2d..9fe1288 100755
--- a/kvmx
+++ b/kvmx
@@ -256,10 +256,18 @@ function kvmx_up {
# Re-evaluate this if there's a custom SSH key.
__kvmx_ssh_command $basekey
fi
+
+ local wait="y"
fi
else
+ local wait="y"
kvmx-create $GLOBAL_USER_CONFIG_FOLDER/$VM
fi
+
+ if [ "$wait" == "y" ]; then
+ echo "Waiting before starting the new guest..."
+ sleep 5
+ fi
fi
if [ -z "$graphics" ]; then