Did a quick change on packer-maas Kickstart files, turning BLS off:
alan@veloci:~/Canonical/git/packer-maas$ git diff diff --git a/rhel8/http/rhel8.ks.in b/rhel8/http/rhel8.ks.in index ff8d6bf..d05bd3f 100644 --- a/rhel8/http/rhel8.ks.in +++ b/rhel8/http/rhel8.ks.in @@ -39,6 +39,7 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-[^lo]* sed -i 's/^GRUB_TERMINAL=.*/GRUB_TERMINAL_OUTPUT="console"/g' /etc/default/grub sed -i '/GRUB_SERIAL_COMMAND="serial"/d' /etc/default/grub sed -ri 's/(GRUB_CMDLINE_LINUX=".*)\s+console=ttyS0(.*")/\1\2/' /etc/default/grub +sed -i s/"GRUB_ENABLE_BLSCFG=.*"/"GRUB_ENABLE_BLSCFG=false"/g /etc/default/grub
dnf clean all %end diff --git a/rhel9/http/rhel9.ks.in b/rhel9/http/rhel9.ks.in index ff8d6bf..d05bd3f 100644 --- a/rhel9/http/rhel9.ks.in +++ b/rhel9/http/rhel9.ks.in @@ -39,6 +39,7 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-[^lo]* sed -i 's/^GRUB_TERMINAL=.*/GRUB_TERMINAL_OUTPUT="console"/g' /etc/default/grub sed -i '/GRUB_SERIAL_COMMAND="serial"/d' /etc/default/grub sed -ri 's/(GRUB_CMDLINE_LINUX=".*)\s+console=ttyS0(.*")/\1\2/' /etc/default/grub +sed -i s/"GRUB_ENABLE_BLSCFG=.*"/"GRUB_ENABLE_BLSCFG=false"/g /etc/default/grub
dnf clean all %end
Then downloaded the latest RHEL 9.2 and 8.8 DVD ISOs and created new images for MAAS:
$ maas homelab boot-resources create name='custom/rhel-9.2-20230912-no-bls' title='RHEL 9.2 20230912 No BLS' architecture='amd64/generic' filetype='tgz' base_image='rhel/9' content@=rhel-9.2-20230912-no-bls.tar.gz
$ maas homelab boot-resources create name='custom/rhel-8.8-20230912-no-bls' title='RHEL 8.8 20230912 No BLS' architecture='amd64/generic' filetype='tgz' base_image='rhel/8' content@=rhel-8.8-20230912-no-bls.tar.gz
After that performed two deployments (9.2 / 8.8) using the "custom" disk layout and then two extra deployments (9.2 / 8.8) with the default Flat disk layout and all tests worked w/o an issue.
Best, Alan
Did a quick change on packer-maas Kickstart files, turning BLS off:
alan@veloci: ~/Canonical/ git/packer- maas$ git diff http/rhel8. ks.in b/rhel8/ http/rhel8. ks.in http/rhel8. ks.in http/rhel8. ks.in network- scripts/ ifcfg-[ ^lo]* TERMINAL= .*/GRUB_ TERMINAL_ OUTPUT= "console" /g' /etc/default/grub SERIAL_ COMMAND= "serial" /d' /etc/default/grub CMDLINE_ LINUX=" .*)\s+console= ttyS0(. *")/\1\ 2/' /etc/default/grub ENABLE_ BLSCFG= .*"/"GRUB_ ENABLE_ BLSCFG= false"/ g /etc/default/grub
diff --git a/rhel8/
index ff8d6bf..d05bd3f 100644
--- a/rhel8/
+++ b/rhel8/
@@ -39,6 +39,7 @@ rm -f /etc/sysconfig/
sed -i 's/^GRUB_
sed -i '/GRUB_
sed -ri 's/(GRUB_
+sed -i s/"GRUB_
dnf clean all http/rhel9. ks.in b/rhel9/ http/rhel9. ks.in http/rhel9. ks.in http/rhel9. ks.in network- scripts/ ifcfg-[ ^lo]* TERMINAL= .*/GRUB_ TERMINAL_ OUTPUT= "console" /g' /etc/default/grub SERIAL_ COMMAND= "serial" /d' /etc/default/grub CMDLINE_ LINUX=" .*)\s+console= ttyS0(. *")/\1\ 2/' /etc/default/grub ENABLE_ BLSCFG= .*"/"GRUB_ ENABLE_ BLSCFG= false"/ g /etc/default/grub
%end
diff --git a/rhel9/
index ff8d6bf..d05bd3f 100644
--- a/rhel9/
+++ b/rhel9/
@@ -39,6 +39,7 @@ rm -f /etc/sysconfig/
sed -i 's/^GRUB_
sed -i '/GRUB_
sed -ri 's/(GRUB_
+sed -i s/"GRUB_
dnf clean all
%end
Then downloaded the latest RHEL 9.2 and 8.8 DVD ISOs and created new images for MAAS:
$ maas homelab boot-resources create name='custom/ rhel-9. 2-20230912- no-bls' title='RHEL 9.2 20230912 No BLS' architecture= 'amd64/ generic' filetype='tgz' base_image='rhel/9' content@ =rhel-9. 2-20230912- no-bls. tar.gz
$ maas homelab boot-resources create name='custom/ rhel-8. 8-20230912- no-bls' title='RHEL 8.8 20230912 No BLS' architecture= 'amd64/ generic' filetype='tgz' base_image='rhel/8' content@ =rhel-8. 8-20230912- no-bls. tar.gz
After that performed two deployments (9.2 / 8.8) using the "custom" disk layout and then two extra deployments (9.2 / 8.8) with the default Flat disk layout and all tests worked w/o an issue.
Best,
Alan