diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-04-02 09:03:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-04-02 09:03:23 -0300 |
commit | 03f94939b1405c9fffd690d764fc08106d88d8ca (patch) | |
tree | 4f5a1c8d4babace84a36f428966cb5ef6e7a5506 | |
parent | 8e659f567492fbcb3411ba7b5012ad02728c457f (diff) | |
download | kvmx-03f94939b1405c9fffd690d764fc08106d88d8ca.tar.gz kvmx-03f94939b1405c9fffd690d764fc08106d88d8ca.tar.bz2 |
Wait before starting new machines
-rwxr-xr-x | kvmx | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |