wwctl node manages cluster nodes stored in the Warewulf node registry (nodes.conf). Node names support hostlist syntax for operating on multiple nodes at once.
wwctl node can also be spelled wwctl nodes.wwctl node add
wwctl node add
Add one or more new nodes to Warewulf.When adding a range of nodes (e.g.,
Examples
n[2-4]) with --ipaddr, the IP address is automatically incremented for each node.Flags| Flag | Description |
|---|---|
--ipaddr | Primary IP address of the node (or starting address for a range) |
--netmask | Network mask for the primary interface |
--gateway | Default gateway for the primary interface |
--hwaddr | Hardware (MAC) address of the primary interface |
--netdev | Network device name (e.g., eno1) |
--netname | Named network interface (default: default) |
--discoverable | Enable automatic MAC address discovery |
--image | OS image to provision on this node |
--profile | Comma-separated list of profiles to apply |
--system-overlays | System overlays to apply at boot (replaces list) |
--runtime-overlays | Runtime overlays applied by wwclient (replaces list) |
--kernelargs | Kernel arguments (comma-separated or multiple flags) |
wwctl node list
wwctl node list
List configured nodes and their attributes.Flags
Examples
| Flag | Short | Description |
|---|---|---|
--all | -a | Show all node configuration fields, including profile source |
--net | -n | Show network interface configurations |
--ipmi | -i | Show IPMI interface configurations |
--long | -l | Show long/wide format |
--yaml | -y | Output in YAML format |
--json | -j | Output in JSON format |
wwctl node set
wwctl node set
Set configuration fields on one or more nodes.Use
List valuesFields that accept lists (such as Un-setting fieldsSet any field to Examples
UNDEF or UNSET as the value to clear a field. The PATTERN supports hostlist syntax. Use --all to target every node.Common flags| Flag | Description |
|---|---|
--image | OS image name |
--profile | Comma-separated list of profiles |
--ipaddr | Primary IP address |
--netmask | Network mask |
--gateway | Default gateway |
--hwaddr | MAC address |
--netdev | Network device name (e.g., eno1) |
--netname | Named network interface (default: default) |
--type | Network interface type (e.g., ethernet, infiniband, vlan) |
--kernelversion | Kernel version |
--kernelargs | Kernel arguments (list value) |
--system-overlays | System overlays (replaces list; short: -O) |
--runtime-overlays | Runtime overlays (replaces list; short: -R) |
--discoverable | Enable/disable MAC auto-discovery |
--tagadd | Add a key=value node tag |
--tagdel | Remove a node tag by key |
--nettagadd | Add a key=value network tag |
--nettagdel | Remove a network tag by key |
--ipmiaddr | IPMI/BMC IP address |
--ipminetmask | IPMI network mask |
--ipmigateway | IPMI gateway |
--ipmiuser | IPMI username |
--ipmipass | IPMI password |
--ipmiinterface | IPMI interface type (e.g., lanplus) |
--ipmiwrite | Write IPMI config to BMC during boot |
--diskname | Block device path (e.g., /dev/vda) |
--diskwipe | Wipe existing partition table |
--partname | Partition label |
--partcreate | Create the partition if it does not exist |
--partnumber | Partition number |
--partsize | Partition size in MiB |
--fsname | Filesystem label |
--fsformat | Filesystem type (e.g., ext4, btrfs, xfs, swap) |
--fspath | Mount path for the filesystem |
--fswipe | Wipe existing filesystem on each boot |
--assetkey | Hardware asset tag for provisioning security |
--all, -a | Apply to all nodes |
--yes, -y | Answer yes to all confirmation prompts |
--kernelargs, --system-overlays, --runtime-overlays) can be specified as a comma-separated string or repeated flags. To include a literal comma in a value, enclose it in inner quotes:UNDEF or UNSET to clear it:wwctl node edit
wwctl node edit
Open a node’s full configuration in an interactive YAML editor.The editor used is determined by the
$EDITOR environment variable. This is the only way to directly manage resources (complex YAML data used by overlays).When
nodes.conf is edited directly (outside of wwctl), warewulfd must be restarted to pick up the changes: systemctl restart warewulfd.servicewwctl node delete
wwctl node delete
Remove one or more nodes from the Warewulf node registry.After deleting nodes, run
wwctl clean to remove orphaned overlay images.wwctl node import
wwctl node import
Import nodes from a YAML file into the node registry.The YAML file is a mapping of node names to their attributes. Use
wwctl node export to generate a valid template.Example YAMLwwctl node export
wwctl node export
Export one or more nodes to a YAML file suitable for use with
wwctl node import.wwctl node status
wwctl node status
Display the current provisioning stage of each node.The
LASTSEEN column shows how many seconds ago the node last contacted the Warewulf server. See provisioning stages for a description of each stage.wwctl node console
wwctl node console
Connect to a node’s IPMI Serial over LAN (SOL) console.IPMI must be configured on the node (see
--ipmiaddr, --ipmiuser, --ipmipass, --ipmiinterface). Warewulf uses ipmitool internally to establish the connection.wwctl node sensors
wwctl node sensors
Query IPMI sensor information from cluster nodes.Flags
ExamplesIPMI must be configured on the target nodes. Node names support hostlist syntax.
| Flag | Short | Description |
|---|---|---|
--full | -F | Show detailed sensor output |
--show | -s | Only print the IPMI command that would be executed |
--fanout | Number of commands to run in parallel (default: 50) |