#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth --useshadow --enablemd5
-# Partition clearing information
-clearpart --all --initlabel
-# Use a small root partition on one disk
-part / --fstype="ext4" --ondisk=sda --size=20000
-# Clear the Master Boot Record
-zerombr
-# System bootloader configuration
-bootloader --location=mbr --boot-drive=sda
+$SNIPPET('cephlab_rhel_disks')
# Use text mode install
text
# Firewall configuration
--- /dev/null
+## {{ ansible_managed }}
+#set os_version = $getVar('os_version','')
+# Partition clearing information
+clearpart --all --initlabel
+# Use a small root partition on one disk
+part / --fstype="ext4" --ondisk=sda --size=20000
+# Clear the Master Boot Record
+zerombr
+# System bootloader configuration
+#if $os_version == 'rhel7'
+ #set bootloader_args = "--location=mbr --boot-drive=sda"
+#else
+ #set bootloader_args = "--location=mbr --driveorder=sda"
+#end if
+bootloader $bootloader_args