diff options
| author | Simon Rettberg | 2016-08-03 14:49:51 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2016-08-03 14:49:51 +0200 |
| commit | 0e3b1d69a4c08a2e71aae2247f575325a301d259 (patch) | |
| tree | a84eba17bf79a7e93b9a981a1e4c53c6c26cda82 /remote/modules/run-virt/data/opt/openslx/scripts | |
| parent | [run-virt] usbdetect: Add class 239 ("misc. device") (diff) | |
| download | tm-scripts-0e3b1d69a4c08a2e71aae2247f575325a301d259.tar.gz tm-scripts-0e3b1d69a4c08a2e71aae2247f575325a301d259.tar.xz tm-scripts-0e3b1d69a4c08a2e71aae2247f575325a301d259.zip | |
[run-virt/vmware] Patch resolution into vmx if it's an "odd one"
vmware doesn't allow some resolutions by default on some guests, so
this workaround forces the desired resolution by some additional vmx
entries.
Diffstat (limited to 'remote/modules/run-virt/data/opt/openslx/scripts')
| -rw-r--r-- | remote/modules/run-virt/data/opt/openslx/scripts/includes/setup_virtual_floppy.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/run-virt/data/opt/openslx/scripts/includes/setup_virtual_floppy.inc b/remote/modules/run-virt/data/opt/openslx/scripts/includes/setup_virtual_floppy.inc index ff562b20..5f12fe29 100644 --- a/remote/modules/run-virt/data/opt/openslx/scripts/includes/setup_virtual_floppy.inc +++ b/remote/modules/run-virt/data/opt/openslx/scripts/includes/setup_virtual_floppy.inc @@ -19,7 +19,7 @@ else SHARE_REMAP_MODE_INI="$SHARE_REMAP_MODE" fi [ -z "$SHARE_CREATE_MISSING_REMAP" ] && SHARE_CREATE_MISSING_REMAP="1" -RESOLUTION=$(xrandr | grep -o -E 'connected\s*(primary)?\s*[0-9]+x[0-9]+\+0\+0' \ +declare -rg RESOLUTION=$(xrandr | grep -o -E 'connected\s*(primary)?\s*[0-9]+x[0-9]+\+0\+0' \ | grep -o -E -m1 '[0-9]+x[0-9]+') # Legacy: HOSTRES.TXT |
