diff options
| author | Simon Rettberg | 2016-01-18 16:22:23 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2016-01-18 16:22:23 +0100 |
| commit | 6fcc57bd06ad2f05eb488c9c684faaa41bead6f0 (patch) | |
| tree | 704bfa655bc71d0748b278a2700cec3f0733ea32 /remote/modules/run-virt/data/opt/openslx/scripts | |
| parent | [rfs-stage32] Whitelist some mor eintel chips for vmware 3d (diff) | |
| download | tm-scripts-6fcc57bd06ad2f05eb488c9c684faaa41bead6f0.tar.gz tm-scripts-6fcc57bd06ad2f05eb488c9c684faaa41bead6f0.tar.xz tm-scripts-6fcc57bd06ad2f05eb488c9c684faaa41bead6f0.zip | |
[run-virt] Don't exit 1 if we don't have a vmstore as it's optional nowadays
Diffstat (limited to 'remote/modules/run-virt/data/opt/openslx/scripts')
| -rwxr-xr-x | remote/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store b/remote/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store index 4559e1e3..9d478918 100755 --- a/remote/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store +++ b/remote/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store @@ -2,7 +2,7 @@ . /opt/openslx/config || exit 1 -[ -z "$SLX_VM_NFS" ] && slxlog "mount-vmstore-missing" "No SLX_VM_NFS given in /opt/openslx/config!" && exit 1 +[ -z "$SLX_VM_NFS" ] && exit 0 # create target directory mkdir -p /mnt/vmstore |
