From 03f94939b1405c9fffd690d764fc08106d88d8ca Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 2 Apr 2017 09:03:23 -0300 Subject: Wait before starting new machines --- kvmx | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3