diff options
author | Jonathan Bauer | 2018-01-18 10:59:07 +0100 |
---|---|---|
committer | Jonathan Bauer | 2018-01-18 10:59:07 +0100 |
commit | 495940e42e51d67810d4a6a92fc51cb47aacb667 (patch) | |
tree | 23fa4335445ae707d9ceef9be925e99656f36451 /core/modules/run-virt/data | |
parent | [slxbrowser] Support --reload-interval via SLX_RELOAD_INTERVAL_SECS (diff) | |
download | mltk-495940e42e51d67810d4a6a92fc51cb47aacb667.tar.gz mltk-495940e42e51d67810d4a6a92fc51cb47aacb667.tar.xz mltk-495940e42e51d67810d4a6a92fc51cb47aacb667.zip |
[run-virt] add --sync to slxlog calls
Diffstat (limited to 'core/modules/run-virt/data')
-rwxr-xr-x | core/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store | 4 |
1 files changed, 2 insertions, 2 deletions
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 |