summaryrefslogtreecommitdiffstats
path: root/inc/trigger.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2019-12-17 12:25:56 +0100
committerSimon Rettberg2019-12-17 12:25:56 +0100
commitcbd282cc6b811293e00258b6881a7527d2c1ca6d (patch)
tree60fcca89e2856885f2a945db4bd61d1a06dcfb8f /inc/trigger.inc.php
parent[serversetup-bwlp-ipxe] Fix pre-filling title for menu entry (diff)
downloadslx-admin-cbd282cc6b811293e00258b6881a7527d2c1ca6d.tar.gz
slx-admin-cbd282cc6b811293e00258b6881a7527d2c1ca6d.tar.xz
slx-admin-cbd282cc6b811293e00258b6881a7527d2c1ca6d.zip
[inc/Trigger] Pass dnbd3 status to MountVmStore task
Diffstat (limited to 'inc/trigger.inc.php')
-rw-r--r--inc/trigger.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/trigger.inc.php b/inc/trigger.inc.php
index 988b31c6..ecfa6017 100644
--- a/inc/trigger.inc.php
+++ b/inc/trigger.inc.php
@@ -161,6 +161,7 @@ class Trigger
'address' => $addr,
'type' => 'images',
'opts' => $opts,
+ 'localNfs' => !Module::isAvailable('dnbd3') || !Dnbd3::isEnabled() || Dnbd3::hasNfsFallback(),
'username' => $vmstore['cifsuser'],
'password' => $vmstore['cifspasswd']
));