From 495940e42e51d67810d4a6a92fc51cb47aacb667 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 18 Jan 2018 10:59:07 +0100 Subject: [run-virt] add --sync to slxlog calls --- core/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/modules/run-virt/data/opt/openslx/scripts') diff --git a/core/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store b/core/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store index 58f01038..1059feba 100755 --- a/core/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store +++ b/core/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store @@ -39,9 +39,9 @@ fi > "$OUTFILE" 2>&1 if [ "$RET" -ne "0" ]; then if [ -s "$OUTFILE" ]; then - slxlog --delete "mount-vmstore-fail" "Mounting '$SLX_VM_NFS' failed. VMs will not boot." "$OUTFILE" + slxlog --sync --delete "mount-vmstore-fail" "Mounting '$SLX_VM_NFS' failed. VMs will not boot." "$OUTFILE" else - slxlog "mount-vmstore-fail" "Mounting '$SLX_VM_NFS' failed. VMs will not boot." + slxlog --sync "mount-vmstore-fail" "Mounting '$SLX_VM_NFS' failed. VMs will not boot." rm -f -- "$OUTFILE" fi fi -- cgit v1.2.3-55-g7522