Added --partwipe flag for set

This commit is contained in:
Christian Goll
2026-01-14 10:37:05 +01:00
parent b30a2cfb65
commit a0efd7fe08
5 changed files with 63 additions and 5 deletions

View File

@@ -54,15 +54,15 @@ but specifying it is recommended as Ignition may fail without it. Partition
sizes should also be set (specified in MiB), except for the last partition: if
no size is given, the maximum available size is used. Each partition has the
switches ``should_exist`` and ``wipe_partition_entry`` which control the
partition creation process. When omitting a partition number the
`wipe_partition_entry` should be true, as this allows ignition to replace the
existing partition.
partition creation process (via the ``--partcreate`` and ``--partwipe`` flags).
When omitting a partition number the `wipe_partition_entry` should be true, as
this allows ignition to replace the existing partition.
.. code-block:: shell
wwctl node set n1 \
--diskname /dev/vda --diskwipe \
--partname scratch --partcreate --partnumber 1
--partname scratch --partcreate --partwipe --partnumber 1
File systems
============