From: David Galloway Date: Thu, 18 Jul 2019 16:48:25 +0000 (-0400) Subject: cobbler: Update RHEL disk partition snippet for RHEL8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F463%2Fhead;p=ceph-cm-ansible.git 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 --- 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