diff --git a/libvirt/destroy_configuration.sh b/libvirt/destroy_configuration.sh index b1148bf..099476a 100755 --- a/libvirt/destroy_configuration.sh +++ b/libvirt/destroy_configuration.sh @@ -31,7 +31,7 @@ configuration_check ${CONFIGURATION} CONFIGURATION=${CONFIGURATION:-simplex} CONTROLLER=${CONTROLLER:-controller} -DOMAIN_DIRECTORY=vms +DOMAIN_DIRECTORY=${DOMAIN_DIRECTORY:-vms} destroy_controller ${CONFIGURATION} ${CONTROLLER} diff --git a/libvirt/setup_configuration.sh b/libvirt/setup_configuration.sh index 37c0fd3..09836a0 100755 --- a/libvirt/setup_configuration.sh +++ b/libvirt/setup_configuration.sh @@ -39,7 +39,7 @@ WORKER=${WORKER:-worker} WORKER_NODES_NUMBER=${WORKER_NODES_NUMBER:-1} STORAGE=${STORAGE:-storage} STORAGE_NODES_NUMBER=${STORAGE_NODES_NUMBER:-1} -DOMAIN_DIRECTORY=vms +DOMAIN_DIRECTORY=${DOMAIN_DIRECTORY:-vms} bash ${SCRIPT_DIR}/destroy_configuration.sh -c $CONFIGURATION