Add an environment to use a swap partition
authorJames Slagle <jslagle@redhat.com>
Sun, 6 Mar 2016 21:02:24 +0000 (16:02 -0500)
committerJames Slagle <jslagle@redhat.com>
Sun, 6 Mar 2016 21:06:18 +0000 (16:06 -0500)
commit94f580370d1104fb0f0d076cd3c3fd572cd961e8
tree2a3da43c660dd0d2b056cb1838b5c0aa4e827c1a
parent00e47eaf5b4d00ca59a8ce75a7f7a9a928dbf5c7
Add an environment to use a swap partition

This environment can be used with AllNodesExtraConfig to enable swap on
a device with the given label as specified by the swap_partition_label
parameter.

If Ironic is used to create the swap partition, the partition will have
a label of swap1, so that's a reasonable default for the parameter.

The partition is also written to /etc/fstab as a swap mount so that it
will be enabled on reboot.

Change-Id: I5cd68c13dbfe53eecf6c6ad93151eadc980a902d
extraconfig/all_nodes/swap-partition.yaml [new file with mode: 0644]