summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data/opt/openslx/vmchooser
diff options
context:
space:
mode:
authorManuel Bentele2021-07-01 09:34:31 +0200
committerManuel Bentele2021-07-01 09:34:31 +0200
commitfe94feb0301a16e6f9ba83e5c13ddb67174599e1 (patch)
treeb9fb1701b8075e84a3b90065362ca2ff88f2920e /core/modules/run-virt/data/opt/openslx/vmchooser
parentMerge branch 'master' into installer (diff)
parent[qemu] Enable shared folders if global support is active (diff)
downloadmltk-fe94feb0301a16e6f9ba83e5c13ddb67174599e1.tar.gz
mltk-fe94feb0301a16e6f9ba83e5c13ddb67174599e1.tar.xz
mltk-fe94feb0301a16e6f9ba83e5c13ddb67174599e1.zip
Merge branch 'master' into installer
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser')
-rw-r--r--core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/get_xml_file_variables.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/get_xml_file_variables.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/get_xml_file_variables.inc
index ff5c736c..b4ab4c1c 100644
--- a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/get_xml_file_variables.inc
+++ b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/get_xml_file_variables.inc
@@ -49,7 +49,7 @@ parse_xml() {
readonly VM_DISPLAYNAME
# Define VM_CLEANNAME since VM_DISPLAYNAME can be long and contain weird characters
- declare -rg VM_CLEANNAME=$(echo "${VM_DISPLAYNAME:0:32}" | sed -r 's/[^0-9a-zA-Z_-\.]+/_/g')
+ declare -rg VM_CLEANNAME=$(echo "${VM_DISPLAYNAME:0:32}" | sed -r 's/[^0-9a-zA-Z_\-\.]+/_/g')
# image is for the following virtual machine
declare -rg PLUGIN_ID=$(get_xml "virtualmachine")