Red Hat Satellite/Partition Tables
From wiki.vacula.xyz
This article includes a brief overview of using Red Hat Satellite's partition table templates. It's mostly meant for my own reference.
Useful documentation:
- Red Hat Satellite 6.15 Documentation on creating partition tables: https://docs.redhat.com/en/documentation/red_hat_satellite/6.15/html/provisioning_hosts/configuring_provisioning_resources_provisioning#creating-partition-tables_provisioning
- Red Hat Satellite 6.15 Template writing syntax: https://docs.redhat.com/en/documentation/red_hat_satellite/6.15/html-single/managing_hosts/index#removing-packages-from-a-host_managing-hosts
Quick reference:
<% %> # Execute code inside of this block <%= %> # Execute code inside of this block and insert the result w/ a newline <%= -%> # Same as previous, but remove ending newline <%# %> # Comment <% if @host.name == "host1.example.com" -%> <% result="positive" -%> <% else -%> <% result="negative" -%> <% end -%> <%= result -%>
Examples
Ceph
zerombr
clearpart --all --initlabel
ignoredisk --only-use=/dev/disk/by-path/pci-0000:02:00.0-scsi-0:2:0:0
autopart <%= host_param('autopart_options') %>