fusiondirectory-plugins issueshttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues2018-06-25T08:10:08Zhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5821Add LUKS section to FAI disk entry2018-06-25T08:10:08ZJonathan SwaelensAdd LUKS section to FAI disk entry## Descriptive title for this enhancement
Add the LUKS section in FAI plugin
### Actual behavior
Actually we can manage normal hard drive, LVM and RAID but we miss the LUKS section
### Expected behavior
That we can create and manage...## Descriptive title for this enhancement
Add the LUKS section in FAI plugin
### Actual behavior
Actually we can manage normal hard drive, LVM and RAID but we miss the LUKS section
### Expected behavior
That we can create and manage LUKS section
### Step by step description of new behaviour
1. Click on Add LUKS
![Screenshot_at_17-04-46](/uploads/8c59a45b0fdb5917022189a91f2a2057/Screenshot_at_17-04-46.png)
2. Fill the next fields like the pictures
![Screenshot_at_17-14-55](/uploads/674bcce82d11468e9ff32fa4cc121506/Screenshot_at_17-14-55.png)
![Screenshot_at_17-21-38](/uploads/20e580a005b7b0c07d8095d0b3248743/Screenshot_at_17-21-38.png)
In place of sda2,sda3 we need the device path like /dev/sda2
3. Add a solution to add a passphrase
The LUKS section will look closely to the RAID one, it need only that we may use the same partition than LVM or RAID without the condition to have 2 partitions.
It make the next FAI configuration with the a primary partition and raid
```
disk_config sda fstabkey:device disklabel:msdos bootable:1
primary /boot 200MB ext2 rw
primary - - - rw
primary - - - rw
disk_config cryptsetup fstabkey:device
raid1 - sda2,sda3 - rw
```
It must look like this one at the end
```
disk_config sda fstabkey:device bootable:1
primary /boot 200MB ext2 rw
primary - 0- - -
disk_config cryptsetup
luks:"passphrase" - /dev/sda2 - -
```FusionDirectory 1.2.2Côme ChillietCôme Chilliet