summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d
diff options
context:
space:
mode:
authorSimon Rettberg2018-10-19 14:53:36 +0200
committerSimon Rettberg2018-10-19 14:53:36 +0200
commit3cf10d9b83d276259f52fa98c6871bf42db867f9 (patch)
treef9b9386871e7e4726d4825cad1e7c4643dac17c6 /core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d
parent[beamergui] Fix adding resolutions; more fallback options (diff)
downloadmltk-3cf10d9b83d276259f52fa98c6871bf42db867f9.tar.gz
mltk-3cf10d9b83d276259f52fa98c6871bf42db867f9.tar.xz
mltk-3cf10d9b83d276259f52fa98c6871bf42db867f9.zip
[run-virt] Create empty line if pwdeamon is down
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d')
-rw-r--r--core/modules/run-virt/data/opt/openslx/vmchooser/run-virt.d/setup_virtual_floppy.inc1
1 files changed, 1 insertions, 0 deletions
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 b908df2c..98b0b78a 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
@@ -67,6 +67,7 @@ setup_virtual_floppy() {
chmod 0600 "${SHARES}"
if ! pwdaemon --query "${TMPHOME}/.pwsocket" > "${SHARES}"; then
slxlog "virt-pwdaemon" "Could not start pwdaemon"
+ echo "- - - - - - -" > "${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