]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Taking create action into account at __kvmx_initialize
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 13 Jun 2018 22:08:45 +0000 (19:08 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 13 Jun 2018 22:08:45 +0000 (19:08 -0300)
kvmx

diff --git a/kvmx b/kvmx
index f861fdcb7cc777405f0b9f94131374143f63bb4e..68560208b1e98e7ee968e39da480cbda8495930b 100755 (executable)
--- a/kvmx
+++ b/kvmx
@@ -202,7 +202,7 @@ function __kvmx_initialize {
 
     if [ ! -e "$image" ] && [ "$ACTION" != "up" ]      && [ "$ACTION" != "provision" ] && [ "$ACTION" != "purge" ] \
                          && [ "$ACTION" != "destroy" ] && [ "$ACTION" != "install" ]   && [ "$ACTION" != "config" ]  \
-                         && [ "$ACTION" != "config_unset" ]; then
+                         && [ "$ACTION" != "config_unset" ] && [ "$ACTION" != "create" ]; then
       echo "$BASENAME: file not found: $image"
       exit 1
     fi