diff options
| author | Simon Rettberg | 2016-03-21 16:34:45 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2016-03-21 16:34:45 +0100 |
| commit | b7629283d08be3b9a530944d5a6b1ce8122d4408 (patch) | |
| tree | f0e93856b23342812a4824d3c069a94f63fa7661 /remote/modules | |
| parent | [vmware] Enable nested virtualization by default (diff) | |
| download | tm-scripts-b7629283d08be3b9a530944d5a6b1ce8122d4408.tar.gz tm-scripts-b7629283d08be3b9a530944d5a6b1ce8122d4408.tar.xz tm-scripts-b7629283d08be3b9a530944d5a6b1ce8122d4408.zip | |
[run-virt] Default to vmware shared folder for homedir for backwards compat
Diffstat (limited to 'remote/modules')
| -rw-r--r-- | remote/modules/run-virt/data/opt/openslx/scripts/includes/setup_virtual_floppy.inc | 4 |
1 files changed, 2 insertions, 2 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 cb5b54b4..e74423ec 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 @@ -16,7 +16,7 @@ mkfs.fat "${FLOPPYIMG}" || mkfs.vfat "${FLOPPYIMG}" || mkdosfs "${FLOPPYIMG}" # Create file with resolution information etc. . "/opt/openslx/inc/shares" -[ -z "$SHARE_REMAP_MODE" ] && SHARE_REMAP_MODE="1" +[ -z "$SHARE_REMAP_MODE" ] && SHARE_REMAP_MODE="3" [ -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' \ | grep -o -E -m1 '[0-9]+x[0-9]+') @@ -48,7 +48,7 @@ if pwdaemon --query "${TMPHOME}/.pwsocket" > "${SHARES}"; then # Tab between items, so spaces can be used! echo "${NETHOME} ${SHARE_HOME_DRIVE} Home-Verzeichnis" >> "${SHARES}" fi - for VAR in ${!SLX_SHARE_*}; do + for VAR in ${!SHARE_LINE_*}; do echo "${!VAR}" >> "${SHARES}" done fi |
