aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-07-16 16:38:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-07-16 16:38:31 -0300
commit99b1c7bc20568e3b456249e2d92d1a9b73716ece (patch)
tree1292bd6e03058e15eaba10828c90f220a602dfb9
parent442c6c82e06dc0b33d48850cf3f2ec1ac6c0f028 (diff)
downloadkvmx-99b1c7bc20568e3b456249e2d92d1a9b73716ece.tar.gz
kvmx-99b1c7bc20568e3b456249e2d92d1a9b73716ece.tar.bz2
Load kvmxfile after creating the config entry
-rwxr-xr-xkvmx1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmx b/kvmx
index 920e346..4fcc084 100755
--- 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