summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSimon Rettberg2019-12-16 18:52:43 +0100
committerSimon Rettberg2019-12-16 18:52:43 +0100
commit85a5abee202ff8e5fa21334aeaba15d6a4e31c10 (patch)
tree28999325c49baf88190ad175c254e093d38b9ac2 /scripts
parentUpdate gitignore (diff)
downloadtmlite-bwlp-85a5abee202ff8e5fa21334aeaba15d6a4e31c10.tar.gz
tmlite-bwlp-85a5abee202ff8e5fa21334aeaba15d6a4e31c10.tar.xz
tmlite-bwlp-85a5abee202ff8e5fa21334aeaba15d6a4e31c10.zip
[MountVmStore] Add support for dnbd3 with no NFS fallback
Don't enable the /srv/openslx/nfs export on the server if internal storage is being used, but NFS fallback is disabled.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mount-store4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mount-store b/scripts/mount-store
index b19ec83..3c25e27 100755
--- a/scripts/mount-store
+++ b/scripts/mount-store
@@ -68,6 +68,10 @@ storage_test () {
}
enable_nfs_export () {
+ if [ -n "$TM_NOLOCALNFS" ]; then
+ disable_nfs_export
+ return
+ fi
# Enable nfs server
systemctl enable nfs-kernel-server.service
# Enable our export