I want to set custom partitions for a node with hammer.
I could query the custom partition
hammer host show --name=foo --fields=“Operating system/custom partition table”
but I can’t find the appropriate option for host update
A node with a custom partition
Foreman and Proxy versions:
Foreman Version 3.8.0
Distribution and version:
hammer Client - centos7
foreman - alma linux 8
hammer os add-ptable? Or maybe
hammer os set-parameter… (check the
--help for syntax)
The custom partition is related to the host entity. So os don’t help.
I save the partition table of the host and mark the partitions I want to save with Noformat
in the Kickstart section.
This way I can reinstall nodes and keep defined partitions. I need to do this for several
hundreds of nodes, so it would be helpful not to do this manually in the web-ui, but from the command line