From 0478c8ae67cacd26b1c5168c5870431fc38b76bf Mon Sep 17 00:00:00 2001 From: David Galloway Date: Thu, 18 Jul 2019 12:48:25 -0400 Subject: [PATCH] cobbler: Update RHEL disk partition snippet for RHEL8 Syntax was incorrect and caused issues on systems where /dev/sda isn't the first disk in the system. Signed-off-by: David Galloway --- roles/cobbler/templates/snippets/cephlab_rhel_disks | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/cobbler/templates/snippets/cephlab_rhel_disks b/roles/cobbler/templates/snippets/cephlab_rhel_disks index e5962a7d..20c8a1a9 100644 --- a/roles/cobbler/templates/snippets/cephlab_rhel_disks +++ b/roles/cobbler/templates/snippets/cephlab_rhel_disks @@ -9,6 +9,9 @@ zerombr # System bootloader configuration #if $os_version == 'rhel7' #set bootloader_args = "--location=mbr --boot-drive=sda" +#else if $os_version == 'rhel8' + #set bootloader_args = "--location=mbr --boot-drive=sda" +ignoredisk --only-use=sda #else #set bootloader_args = "--location=mbr --driveorder=sda" #end if -- 2.47.3