From: hickert Date: Thu, 12 May 2011 09:16:29 +0000 (+0000) Subject: Updated saving of partitions X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3a070202d1b200a73b03201101f45a91f1284a25;p=gosa.git Updated saving of partitions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20813 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_DevicePartition.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_DevicePartition.inc index c20cd2776..4f18a8bbf 100644 --- a/gosa-plugins/goto/admin/systems/goto/Device/class_DevicePartition.inc +++ b/gosa-plugins/goto/admin/systems/goto/Device/class_DevicePartition.inc @@ -19,7 +19,7 @@ class DevicePartition function init() { $rpc = $this->config->getRpcHandle(); - $this->object = $rpc->openObject('libinst.preseed.diskdefinition', ''); + $this->object = $rpc->openObject('libinst.preseed.diskdefinition', $this->partitionString); #$this->object->addDisk('sda'); #$this->object->addDisk('sdb'); @@ -138,12 +138,15 @@ class DevicePartition $target = $volumeGroupImg." ".$target; } + $fsType = (isset($raid['fsType'])) ? $raid['fsType'] :""; + $fsOptions = (isset($raid['fsOptions'])) ? $raid['fsOptions'] :""; + $lData[] = array("data" => array($str, $target, '', $devsStr, - $raid['fsType'], - $raid['fsOptions'] + $fsType, + $fsOptions )); } }