Verified Commit e043acb6 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(fai) Hide and disable disk options for RAID and LVM

issue #5821
Showing with 4 additions and 0 deletions
+4 -0
......@@ -282,6 +282,10 @@ class faiDiskEntry extends simplePlugin
$this->attributesAccess['lvmDevices']->setDisabled(TRUE);
$this->attributesAccess['lvmDevices']->setVisible(FALSE);
}
if ($this->FAIdiskType != 'disk') {
$this->attributesAccess['disklabel']->setDisabled(TRUE);
$this->attributesAccess['disklabel']->setVisible(FALSE);
}
if ($disk) {
$this->is_edit = TRUE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment