Red Hat Satellite/Partition Tables: Difference between revisions

From wiki.vacula.xyz
(Created page with "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.c...")
 
No edit summary
 
Line 1: Line 1:
This article includes a brief overview of using Red Hat Satellite's partition table templates. It's mostly meant for my own reference.  
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:
== 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 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
Line 7: Line 7:




Quick reference:
== Quick reference: ==
<nowiki>
<%  %>  # 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 -%>
</nowiki>
 
== Examples ==
 
=== Ceph ===
<nowiki>
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') %>
</nowiki>

Latest revision as of 16:50, 15 July 2024

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:


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') %>