From 3a070202d1b200a73b03201101f45a91f1284a25 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 12 May 2011 09:16:29 +0000 Subject: [PATCH] Updated saving of partitions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20813 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/goto/Device/class_DevicePartition.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 )); } } -- 2.30.2