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/vmware-common | |
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/vmware-common')
-rw-r--r-- | core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc | 4 | ||||
-rw-r--r-- | core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc index 2aba4cdf..8a71a21b 100644 --- a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc +++ b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc @@ -46,10 +46,6 @@ fi [ -n "$gmax" ] && maxhardwareversion="$gmax" -# VMware start options -# "-X": start in fullscreen -declare -rg VM_START_OPTIONS="-X" - # create vmware directories mkdir -p "$VM_REDO_DIR" >/dev/null 2>&1 mkdir -p "$VM_CONF_DIR" >/dev/null 2>&1 diff --git a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include index e98595b7..33d9de29 100644 --- a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include +++ b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include @@ -58,5 +58,6 @@ run_plugin() { # HACK: using the modified version of the wrapper script declare -rg VIRTCMD="/opt/openslx/bin/vmplayer" - declare -rg VIRTCMDOPTS="${VM_START_OPTIONS} ${VM_RUN_FILE}" + # -X for fullscreen, plus VMX file + VIRTCMDOPTS+=( "-X" "${VM_RUN_FILE}" ) } |