Plugin FAI - partition LVM
Salut,
Pour définir une partition LVM ou RAID, il faut mettre la valeur "-" dans le filesystem et sur le mountpoint (cf http://wiki.fai-project.org/wiki/Setup-storage#New_configuration_file_syntax) ce qui n'est actuellement pas possible.
--- class_faiPartition.inc.orig 2015-01-31 16:04:34.464539153 +0100 +++ class_faiPartition.inc 2015-01-31 16:08:58.694561453 +0100 @@ -220,7 +220,8 @@ "ext4" => _("ext4"), "reiserfs" => _("reiser fs"), "xfs" => _("xfs"), - "btrfs" => _("btrfs")); + "btrfs" => _("btrfs"), + "-" => _("LVM/RAID")); $smarty->assign("partitionTypes", $types); $smarty->assign("partitionSizeTypes", $partitionSizeTypes); @@ -428,7 +429,9 @@ // check mount point if($this->FAIfsType != "swap"){ - if(!preg_match("#^/#",$this->FAImountPoint)){ + if($this->FAIfsType == "-") { + $this->FAImountPoint = "-"; + } else if(!preg_match("#^/#",$this->FAImountPoint)){ $msgs[] = msgPool::invalid(_("Mount point")); } }
(from redmine: issue id 3557, created on 2015-01-31, closed on 2015-02-25)
- Changesets:
- Revision ff229b6f by Côme Chilliet on 2015-02-04T16:16:06.000Z:
Fixes #3557 Fixed mountpoint and filesystem possible values
- Revision 47b3d267 by Côme Chilliet on 2015-02-04T16:16:51.000Z:
Fixes #3557 Fixed mountpoint and filesystem possible values
- Revision 38e82a7e by Côme Chilliet on 2015-02-20T16:59:33.000Z:
Fixes #3557 Correctly putting - when mountpoint is empty
- Custom Fields:
- Bug in version: 1.0.8.4
- Uploads: