summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt
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
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')
-rw-r--r--core/modules/run-virt/README7
-rw-r--r--core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/get_xml_file_variables.inc2
2 files changed, 8 insertions, 1 deletions
diff --git a/core/modules/run-virt/README b/core/modules/run-virt/README
index 2f300630..b04dd07e 100644
--- a/core/modules/run-virt/README
+++ b/core/modules/run-virt/README
@@ -35,6 +35,13 @@ from $VMCHOOSER_DIR/plugins/$PLUGIN_ID/*
Absolute path to the main run-virt script. Should usually be
/opt/openslx/vmchooser/vmchooser-run_virt
+# $SHARE_REMAP_MODE
+How to map network shares into guest
+0 = disabled
+1 = mount normally in guest (openslx.exe)
+2 = mount normally in gues, but fall back to shared folders if it fails
+3 = use shared folders feature of virtualizer
+
# $SRC_IMG_ABSOLUTE
Absolute path to the VMs HDD image. When using DNBD3, which requires
$SRC_IMG_RELATIVE to be set, this file might not actually exist.
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")