diff options
author | Simon Rettberg | 2019-07-10 16:52:07 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-07-10 16:52:07 +0200 |
commit | f6f7848eaa5bdd69e03608fc2b9898eab3ce599b (patch) | |
tree | 21035ac8d7cb31873f9e8c61b2c5f7be79b1db8f /core/modules/vbox-src | |
parent | [mltk] minor formatting (diff) | |
download | mltk-f6f7848eaa5bdd69e03608fc2b9898eab3ce599b.tar.gz mltk-f6f7848eaa5bdd69e03608fc2b9898eab3ce599b.tar.xz mltk-f6f7848eaa5bdd69e03608fc2b9898eab3ce599b.zip |
[run-virt/*] Make VIRTCMDOPTS an array for space safeness
Diffstat (limited to 'core/modules/vbox-src')
-rwxr-xr-x | core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/run-virt.include | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/run-virt.include b/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/run-virt.include index 5ac7ab51..bca5c250 100755 --- a/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/run-virt.include +++ b/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/run-virt.include @@ -42,11 +42,11 @@ run_plugin() { # set the variables appropriately (several interfaces with different names) declare -rg VIRTCMD="${VBOX_BASE_DIR}/VirtualBoxVM" - declare -rg VIRTCMDOPTS="--startvm ${MACHINE_UUID} --start-running --fullscreen" + VIRTCMDOPTS+=( "--startvm" "${MACHINE_UUID}" "--start-running" "--fullscreen" ) - # set headless mode (-v off to disable vrdp) - declare -rg VIRTCMDHL="${VBOX_BASE_DIR}/VBoxHeadless" - declare -rg VIRTCMDOPTSHL="-s ${MACHINE_UUID}" + # set headless mode (-v off to disable vrdp) XXX currently not supported/used + #declare -rg VIRTCMDHL="${VBOX_BASE_DIR}/VBoxHeadless" + #declare -rg VIRTCMDOPTSHL="-s ${MACHINE_UUID}" # for debugging purposes cp "$VBOX_MACHINE_CONFIG" "/tmp/vbox-last-config.$USER" |