From b776798ad7ac8ff2474a596ea332684f72fead87 Mon Sep 17 00:00:00 2001 From: Radek Duda Date: Fri, 25 Jan 2019 11:48:22 +0100 Subject: [PATCH] shared.cfg.guest_os: Add RHEL.8 variant config files This patch adds RHEL.8 variant which takes whatever isos/linux/RHEL8-{subverion}-{x86_64,ppc64,aarch64}.iso image exists and uses it to install RHEL8-like OS. Signed-off-by: Radek Duda --- shared/cfg/guest-os/Linux/RHEL/8.cfg | 58 ++++++++++++++++++++ shared/cfg/guest-os/Linux/RHEL/8/8.0.cfg | 9 +++ shared/cfg/guest-os/Linux/RHEL/8/8.devel.cfg | 9 +++ 3 files changed, 76 insertions(+) create mode 100644 shared/cfg/guest-os/Linux/RHEL/8.cfg create mode 100644 shared/cfg/guest-os/Linux/RHEL/8/8.0.cfg create mode 100644 shared/cfg/guest-os/Linux/RHEL/8/8.devel.cfg diff --git a/shared/cfg/guest-os/Linux/RHEL/8.cfg b/shared/cfg/guest-os/Linux/RHEL/8.cfg new file mode 100644 index 00000000000..5bf40876199 --- /dev/null +++ b/shared/cfg/guest-os/Linux/RHEL/8.cfg @@ -0,0 +1,58 @@ +- 8: + variants: + - aarch64: + vm_arch_name = aarch64 + - ppc64: + vm_arch_name = ppc64 + - ppc64le: + vm_arch_name = ppc64le + - s390x: + vm_arch_name = s390x + - x86_64: + vm_arch_name = x86_64 + os_variant = rhel8 + unattended_install.url: + #Running from http server, RHEL requires more memory + mem = 4096 + nic_hotplug: + modprobe_module = + block_hotplug: + modprobe_module = + unattended_install, svirt_install: + kernel = images/${os_variant}-${vm_arch_name}/vmlinuz + initrd = images/${os_variant}-${vm_arch_name}/initrd.img + unattended_install, check_block_size.4096_512, check_block_size.512_512, svirt_install: + cdrom_unattended = images/${os_variant}-${vm_arch_name}/ks.iso + syslog_server_proto = udp + # ARCH dependent things + aarch64: + grub_file = /boot/grub/grub.conf + install_timeout = 7200 + ppc64: + no guest_s3, guest_s4 + mem_chk_cmd = numactl --hardware | awk -F: '/size/ {print $2}' + netdev_peer_re = "(.*?): .*?\\\s(.*?):" + unattended_install..floppy_ks: + floppies = "fl" + floppy_name = images/${os_variant}-${vm_arch_name}/ks.vfd + ppc64le: + no guest_s3, guest_s4 + mem_chk_cmd = numactl --hardware | awk -F: '/size/ {print $2}' + netdev_peer_re = "(.*?): .*?\\\s(.*?):" + unattended_install..floppy_ks: + floppies = "fl" + floppy_name = images/${os_variant}-${vm_arch_name}/ks.vfd + s390x: + grub_file = /boot/grub/grub.conf + install_timeout = 7200 + kernel = images/${os_variant}-${vm_arch_name}/kernel.img + unattended_install, check_block_size.4096_512, check_block_size.512_512, svirt_install: + # Anaconda hardcodes headless installation of RHEL.7 on s390x + vga = none + inactivity_watcher = none + take_regular_screendumps = no + x86_64: + grub_file = /boot/grub2/grub.cfg + unattended_install..floppy_ks: + floppies = "fl" + floppy_name = images/${os_variant}-${vm_arch_name}/ks.vfd diff --git a/shared/cfg/guest-os/Linux/RHEL/8/8.0.cfg b/shared/cfg/guest-os/Linux/RHEL/8/8.0.cfg new file mode 100644 index 00000000000..32d4957361b --- /dev/null +++ b/shared/cfg/guest-os/Linux/RHEL/8/8.0.cfg @@ -0,0 +1,9 @@ +- 0: + # Uses defaults set in 8.cfg + # Adding x.y versions should only require changing the kickstart + # and adding per-arch image shas. + image_name = images/${os_variant}0-${vm_arch_name} + unattended_install.cdrom: + cdrom_cd1 = isos/linux/RHEL8-0-${vm_arch_name}.iso + unattended_install, check_block_size.4096_512, check_block_size.512_512, svirt_install: + unattended_file = unattended/RHEL-8-0.ks diff --git a/shared/cfg/guest-os/Linux/RHEL/8/8.devel.cfg b/shared/cfg/guest-os/Linux/RHEL/8/8.devel.cfg new file mode 100644 index 00000000000..7f49f94336c --- /dev/null +++ b/shared/cfg/guest-os/Linux/RHEL/8/8.devel.cfg @@ -0,0 +1,9 @@ +- devel: + # Uses defaults set in 8.cfg + # Adding x.y versions should only require changing the kickstart + # and adding per-arch image shas. + image_name = images/${os_variant}devel-${vm_arch_name} + unattended_install.cdrom: + cdrom_cd1 = isos/linux/RHEL8-devel-${vm_arch_name}.iso + unattended_install, check_block_size.4096_512, check_block_size.512_512, svirt_install: + unattended_file = unattended/RHEL-8-devel.ks