]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Load kvmxfile after creating the config entry
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 16 Jul 2019 19:38:31 +0000 (16:38 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 16 Jul 2019 19:38:31 +0000 (16:38 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 920e346e5fc3508f1a9a6f068ad280239bbf1885..4fcc084894f000fef1a5d3f2830be2ba1936e0c9 100755 (executable)
--- a/kvmx
+++ b/kvmx
@@ -134,6 +134,7 @@ function __kvmx_initialize {
         # Existing kvmxfile but not registered at the global user config
         FOLDER="$(pwd)"
         __kvmx_create_config_entry
+        source $GLOBAL_USER_CONFIG_FOLDER/$VM
       else
         echo "$BASENAME: config not found: $GLOBAL_USER_CONFIG_FOLDER/$VM"
         exit 1