Add RockyLinux support

This commit is contained in:
2024-04-16 01:14:05 +02:00
parent 344753fa5b
commit cc40bae858
7 changed files with 42 additions and 24 deletions

View File

@@ -34,6 +34,14 @@
- arch-chroot /mnt dnf --releasever=39 --setopt=install_weak_deps=False install -y {{ role_packages.fedora | join(' ') }}
- arch-chroot /mnt dnf reinstall -y grub2-efi-x64 kernel
- name: Bootstrap RockyLinux 9
when: os | lower == 'rocky'
shell: "{{ item }}"
with_items:
- dnf --releasever=9 --best --repo=rocky-baseos --installroot=/mnt --setopt=install_weak_deps=False groupinstall -y base core
- echo "nameserver 1.0.0.1" > /mnt/etc/resolv.conf
- arch-chroot /mnt dnf --releasever=9 --setopt=install_weak_deps=False install -y {{ role_packages.rocky | join(' ') }}
- name: Bootstrap RHEL System
when: os | lower in ['rhel8', 'rhel9']
shell: "{{ item }}"

View File

@@ -130,7 +130,7 @@ almalinux:
- lrzsz
- nfs-utils
- open-vm-tools
- shims
- shim
- telnet
- vim
- zstd
@@ -157,4 +157,18 @@ rhel9:
- open-vm-tools
- shim
- telnet
- zstd
rocky:
- dhcp-client
- efibootmgr
- grub2
- grub2-efi
- lrzsz
- nfs-utils
- open-vm-tools
- shim
- telnet
- util-linux-core
- vim-minimal
- zstd