From ef980ba65ef8393706ce94ad81a97571c0dfafe0 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 9 Jan 2019 13:17:38 +0100 Subject: [run-virt] Implement adminrunscript handling --- .../data/opt/openslx/vmchooser/run-virt.d/setup_virtual_floppy.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d') diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_virtual_floppy.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_virtual_floppy.inc index 10786257..5b58fbb9 100644 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_virtual_floppy.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_virtual_floppy.inc @@ -39,7 +39,7 @@ setup_virtual_floppy() { chmod 0600 "${SHARES}" if ! pwdaemon --query "${TMPHOME}/.pwsocket" > "${SHARES}"; then slxlog "virt-pwdaemon" "Could not start pwdaemon" - echo "- - - - - - -" > "${SHARES}" + echo -e '-\t-\t-\t-\t-' > "${SHARES}" else sed -i 's/^/192.168.101.1\t/' "${SHARES}" # TODO: Depending on nettype (in case we have != nat some day) if [ "${SHARE_REMAP_MODE}" = 1 -o "${SHARE_REMAP_MODE}" = 2 ] && [ -e "${TMPHOME}/.openslx/home" ]; then -- cgit v1.2.3-55-g7522