fusiondirectory-plugins issueshttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues2023-03-13T15:58:38Zhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5844There are no foreignkey on FAI class2023-03-13T15:58:38ZJonathan SwaelensThere are no foreignkey on FAI class### Description
Hello,
All the fai class are missing a foreign key because when we remove them they are not removed in the profile.
### Distribution Name and Version
Debian
### FusionDirectory Version
1.2.1
### Plugin with the def...### Description
Hello,
All the fai class are missing a foreign key because when we remove them they are not removed in the profile.
### Distribution Name and Version
Debian
### FusionDirectory Version
1.2.1
### Plugin with the defect
FAI
### PHP version used
php7
### Origin of php packages
Debian
### Steps to Reproduce
1. Create FAI classes
2. Add them to a profile
3. Rename or remove a class
4. The profile didn't change
**Expected behavior:**
The class modification like rename or moving need to be apply on profile
The profile is not modified
**Reproduces how often:**
100%FusionDirectory 1.4Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5845Add support for FAI 5 to argonaut-fuse2018-08-08T08:00:11ZJonathan SwaelensAdd support for FAI 5 to argonaut-fuse## Descriptive title for this enhancement
Possibility to add the specific parameter for the fai command line for argonaut-fuse in argonaut-fuse service fai configuration
### Actual behavior
It's hardcode in argonaut-fuse with `$infos...## Descriptive title for this enhancement
Possibility to add the specific parameter for the fai command line for argonaut-fuse in argonaut-fuse service fai configuration
### Actual behavior
It's hardcode in argonaut-fuse with `$infos->{'cmdline'} .= " ip=dhcp root=/dev/nfs boot=live union=$union"`
### Expected behavior
be able to select version 4 or version 5 of fai parameter for pxe boot
version 4 need
**"ip=dhcp root=/dev/nfs boot=live union=$union"**
version 5 need
**"root=x.x.x.x:/srv/fai/nfsroot ip=dhcp rootovl"**
x.x.x.x is the ip of the nfs server
### Step by step description of new behaviour
1. go to argonaut-fuse fai configuration on server service and select the fai version you use
2. Save
### interface
dropdown eo allow selecting version 4 or 5
fai version
text box
fai 4 command line :
default text : **"ip=dhcp root=/dev/nfs boot=live union=$union"**
text box
fai5 command line : **"ip=dhcp rootovl"**
for fai5 we will also need the ip of the nfs server that can be detected from the share/nfs object
### ticket linked
https://gitlab.fusiondirectory.org/argonaut/argonaut/issues/5735
### Benefits
More customisable, less fixed stuffFusionDirectory 1.3Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5846Add vfat as filesystem for FAI partition2018-09-21T13:22:07ZJonathan SwaelensAdd vfat as filesystem for FAI partition## Descriptive title for this enhancement
We miss the filesystem vfat for FAI partition
### Actual behavior
Value "vfat" not exist
### Expected behavior
Adding the "vfat" value
### Step by step description of new behaviour
1. Make...## Descriptive title for this enhancement
We miss the filesystem vfat for FAI partition
### Actual behavior
Value "vfat" not exist
### Expected behavior
Adding the "vfat" value
### Step by step description of new behaviour
1. Make an FAI partition
2. Select vfat in filesystem list (ext4 ext3 ...)
### Benefits
We beed vfat to make EFI partitionFusionDirectory 1.3Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5847Add a workaround for dracut that use FQDN for hostname2018-08-08T08:32:13ZJonathan SwaelensAdd a workaround for dracut that use FQDN for hostname## Descriptive title for this enhancement
Hello,
Dracut use the FQDN as hostname but it break FAI installation.
The workaround that I do is to pass HOSTNAME=machine-name to my PXE line
Example:
```
append initrd=initrd.img-install r...## Descriptive title for this enhancement
Hello,
Dracut use the FQDN as hostname but it break FAI installation.
The workaround that I do is to pass HOSTNAME=machine-name to my PXE line
Example:
```
append initrd=initrd.img-install root=x.x.x.x:/srv/fai/nfsroot ip=dhcp rootovl HOSTNAME=%cn%
```
### Actual behavior
We generate the PXE linux without HOSTNAME=%cn%
### Expected behavior
Add HOSTNAME=%cn% to the PXE command line when we tick the option "Dracut hostname fix" in fusiondirectory service argonaut-fuse fai configuration
### Step by step description of new behaviour
1. Go to service argonaut-fuse service fai configuration
2. Tick "dracut hostname fix"
3. Argonaut fuse will generate the PXE command line with HOSTNAME=%cn% if "dracut hostname fix" is ticked
### linked ticket
https://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/issues/5845
https://gitlab.fusiondirectory.org/argonaut/argonaut/issues/5735
### Benefits
Permit to use FAI classes from FD and dracut to make install in FAI 5FusionDirectory 1.3Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5857Add an option for multiple release mode in argonaut-fuse service configuration2019-01-22T15:14:31ZJonathan SwaelensAdd an option for multiple release mode in argonaut-fuse service configuration## Descriptive title for this enhancement
Add an option multipleNFSROOT in argonaut-fuse service configuration
### Actual behavior
Argonaut-fuse service configuration have the next options for FAI
![Screenshot_at_15-18-31](/uploads/c...## Descriptive title for this enhancement
Add an option multipleNFSROOT in argonaut-fuse service configuration
### Actual behavior
Argonaut-fuse service configuration have the next options for FAI
![Screenshot_at_15-18-31](/uploads/cc921f1d42128db32c57b898b72256de/Screenshot_at_15-18-31.png)
### Expected behavior
The option multipleNFSROOT need to be in the FAI part and must not be ticked by default
### Step by step description of new behaviour
1. Going to argonaut-fuse service configuration
2. Tick the option
### Benefits
Have the possibility to use argonaut-fuse with only 1 NFSROOT or with multiple NFSROOT
### Links
https://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/wikis/meeting-multiple-nfsroot-2018-08-20FusionDirectory 1.3Côme ChillietCôme Chilliet