Add new options in argonaut-fuse PXE file generation
Descriptive title for this enhancement
Add new options in argonaut-fuse PXE file generation
Actual behavior
We generate the folowing file
# Generated by argonaut-fuse for host test-new-last
default argonaut-fuse-generated
label argonaut-fuse-generated
kernel vmlinuz-install
append initrd=initrd.img-install root=10.0.0.254:/srv/fai/nfsroot/ ip=dhcp rootovl FAI_ACTION=install FAI_FLAGS=verbose,sshd,syslogd,createvt HOSTNAME=test-new-last
Expected behavior
We need to verify the multipleNFSROOT option in FD¹ If the option is ticked we take the release of the profile that we use for the installation (example stretch) We generate the next file
# Generated by argonaut-fuse for host test-new-last
default argonaut-fuse-generated
label argonaut-fuse-generated
kernel vmlinuz-stretch-install
append initrd=initrd.img-stretch-install root=10.0.0.254:/srv/fai/nfsroot/stretch ip=dhcp rootovl FAI_ACTION=install FAI_FLAGS=verbose,sshd,syslogd,createvt HOSTNAME=test-new-last
Step by step description of new behaviour
- Checking multipleNSFROOT option
- If checked we grab the release of the profile (exemple stretch)
- We add stretch in the name of vmlinuz, initrd.img and nfsroot