diff options
author | Simon Rettberg | 2024-05-15 16:26:09 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-05-15 16:26:09 +0200 |
commit | aba9c6d19642a95b10ae71c701e6edf9b19d96cf (patch) | |
tree | 507bdfed93a4c844d6013d9b1c62eefffefdb201 | |
parent | [run-virt] Read dnbd3-fuse status file (diff) | |
download | mltk-aba9c6d19642a95b10ae71c701e6edf9b19d96cf.tar.gz mltk-aba9c6d19642a95b10ae71c701e6edf9b19d96cf.tar.xz mltk-aba9c6d19642a95b10ae71c701e6edf9b19d96cf.zip |
[vbox-src] Run windowed in CoW admin/edit mode
-rwxr-xr-x | core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/run-virt.include | 5 |
1 files changed, 4 insertions, 1 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 adda65e3..7288007e 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,7 +42,10 @@ run_plugin() { # set the variables appropriately (several interfaces with different names) declare -rg VIRTCMD="${VBOX_BASE_DIR}/VirtualBoxVM" - VIRTCMDOPTS+=( "--startvm" "${MACHINE_UUID}" "--start-running" "--fullscreen" ) + VIRTCMDOPTS+=( "--startvm" "${MACHINE_UUID}" "--start-running" ) + if [ -z "$DMSD_COW_SESSION" ]; then + VIRTCMDOPTS+=( "--fullscreen" ) + fi # set headless mode (-v off to disable vrdp) XXX currently not supported/used #declare -rg VIRTCMDHL="${VBOX_BASE_DIR}/VBoxHeadless" |