File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
hooks/overcloud-host-package-update/post.d Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,8 @@ Known issues
145
145
<https://access.redhat.com/security/cve/CVE-2023-4001> `__, the operating
146
146
system can become unbootable (boot will stop at a ``grub> `` prompt). Remove
147
147
the ``--root-dev-only `` option from ``/boot/efi/EFI/rocky/grub.cfg `` after
148
- applying package updates.
148
+ applying package updates. This will happen automatically as a post hook when
149
+ running the ``kayobe overcloud host package update `` command.
149
150
150
151
Security baseline
151
152
=================
Original file line number Diff line number Diff line change
1
+ ---
2
+ - name : Remove "--root-dev-only" from grub.cfg if OS is Rocky Linux 9
3
+ hosts : overcloud
4
+ become : yes
5
+ gather_facts : true
6
+
7
+ tasks :
8
+ - name : Remove "--root-dev-only" from /boot/efi/EFI/rocky/grub.cfg
9
+ ansible.builtin.replace :
10
+ path : /boot/efi/EFI/rocky/grub.cfg
11
+ regexp : ' --root-dev-only\s?'
12
+ replace : ' '
13
+ when :
14
+ - ansible_facts['distribution'] == 'Rocky'
15
+ - ansible_facts['distribution_major_version'] == '9'
Original file line number Diff line number Diff line change
1
+ ../../../ansible/fix-grub-rl9.yml
You can’t perform that action at this time.
0 commit comments