summaryrefslogtreecommitdiffstats
path: root/modules/vmstore.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2014-05-28 18:18:34 +0200
committerSimon Rettberg2014-05-28 18:18:34 +0200
commite4e79982dd3c447a4ced762a6069db553e246f59 (patch)
treed17f74565ed5347350edeab412a07c77bd80a636 /modules/vmstore.inc.php
parentWIP (diff)
downloadslx-admin-e4e79982dd3c447a4ced762a6069db553e246f59.tar.gz
slx-admin-e4e79982dd3c447a4ced762a6069db553e246f59.tar.xz
slx-admin-e4e79982dd3c447a4ced762a6069db553e246f59.zip
Fixed some bugs from Sateserver v05
Diffstat (limited to 'modules/vmstore.inc.php')
-rw-r--r--modules/vmstore.inc.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/vmstore.inc.php b/modules/vmstore.inc.php
index ab06b1af..a8f2ec48 100644
--- a/modules/vmstore.inc.php
+++ b/modules/vmstore.inc.php
@@ -60,13 +60,8 @@ class Page_VmStore extends Page
if ($storetype === 'nfs') $addr = $vmstore['nfsaddr'];
if ($storetype === 'cifs') $addr = $vmstore['nfsaddr'];
if ($storetype === 'internal') $addr = 'none';
- $this->mountTask = Taskmanager::submit('MountVmStore', array(
- 'address' => $addr,
- 'type' => 'images',
- 'username' => $vmstore['cifsuser'],
- 'password' => $vmstore['cifspasswd']
- ));
Property::setVmStoreConfig($vmstore);
+ $this->mountTask = Trigger::mount();
}
} \ No newline at end of file