Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packer/alma/11-update-grub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,7 @@ grub2-mkconfig -o /boot/grub2/grub.cfg

sync

# Avoid reboot vs. packer-ssh-reconnect race
systemctl stop sshd

reboot
5 changes: 0 additions & 5 deletions packer/alma/11-zzz.sh

This file was deleted.

3 changes: 3 additions & 0 deletions packer/fedora/12-selinux-fixfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ sed -i -e 's:^SELINUX=.*:SELINUX=permissive:' /etc/selinux/config

fixfiles -F onboot

# Avoid reboot vs. packer-ssh-reconnect race
systemctl stop sshd

reboot
5 changes: 0 additions & 5 deletions packer/fedora/12-zzz.sh

This file was deleted.

3 changes: 3 additions & 0 deletions packer/ol/11-update-grub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,7 @@ grub2-mkconfig -o /boot/grub2/grub.cfg

sync

# Avoid reboot vs. packer-ssh-reconnect race
systemctl stop sshd

reboot
5 changes: 0 additions & 5 deletions packer/ol/11-zzz.sh

This file was deleted.

6 changes: 6 additions & 0 deletions packer/rhel/11-update-grub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ dracut --force "$INITRAMFS_IMG" "$INITRAMFS_VER"

grub2-mkconfig -o /boot/grub2/grub.cfg

# force relinux relabel
fixfiles -F onboot

sync

# Avoid reboot vs. packer-ssh-reconnect race
systemctl stop sshd

reboot
5 changes: 0 additions & 5 deletions packer/rhel/11-zzz.sh

This file was deleted.

2 changes: 1 addition & 1 deletion packer/rhel/98-collect-garbage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ systemctl disable kdump.service
# Remove old kernels.
dnf remove -y $(dnf repoquery --installonly --latest-limit=-1 -q)

dnf remove -y linux-firmware
dnf remove -y linux-firmware insights-client

dnf clean -y all

Expand Down
3 changes: 3 additions & 0 deletions packer/rocky/11-update-grub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,7 @@ grub2-mkconfig -o /boot/grub2/grub.cfg

sync

# Avoid reboot vs. packer-ssh-reconnect race
systemctl stop sshd

reboot
5 changes: 0 additions & 5 deletions packer/rocky/11-zzz.sh

This file was deleted.