Home · About · Download · Documentation · Getting Help · Google+

Node Attributes

The Warewulf boot and provisioning process is controlled by a number of key-value pairs which may be associated with each node object. Some of these are easily set using the node? or provision? interfaces, such as bootstrapid and vnfsid; but other attributes are not implemented in these interfaces. These can only be edited using the object? interface in the current version of Warewulf, but are useful for achieving certain provisioning modes, such as stateful provisioning?.

Boot Process

  • kargs=<arg1>[,<arg2>,...]
    Node variable. Specify kernel arguments to be passed to the bootstrap kernel. If not set, assumes that kargs=quiet. Note that setting this variable will remove the "quiet" argument. Can also be set as a string with "" marks.
    kargs="console=ttyS1,57600 quiet"
  • bootstrapid = <id>
    Node variable. Object ID for the bootstrap to be used for provisioning this node. Typically the bootstrapid is not set directly, but is instead set using the bootstrap object's name.
    provision set <node-name> --bootstrap=<bootstrap-name>
  • vnfsid = <id>
    Node variable. Object ID for the VNFS to be provisioned to the node. Typically the vnfsid is not set directly, but is instead set using the vnfs name.
    provision set <node-name> --vnfs=<vnfs-name>
  • fileids = <id>[,<id>,...]
    Node variable. Object IDs for the datastore files to be provisioned to the node. Typically the fileids is not set directly, but is set using the file object names.
    provision set <node-name> --fileadd=<file-name>
    provision set <node-name> --filedel=<file-name>
  • bootlocal = [0,1]
    Node variable. If set equal to 1, the master will refuse to PXE-boot the node and will instead allow a locally-installed OS to boot. Typically you should set this equal to 1 after statefully provisioning an OS, and set to 0 to re-provision.

Stateful Provisioning

  • filesystems = <mountpoint:dev:type:size>[,<mountpoint:dev:type:size>,...]
    Node variable. Specify filesystems to be created on the provisioned node. If not set, the bootstrap will assume filesystems=mountpoint=/:type=tmpfs, which indicates a statelessly provisioned filesystem. Setting this variable overrides the default value, and can be used to create disk filesystems for data storage or stateful OS provisioning. Size is specified in MB. Supported filesystems are tmpfs, swap and ext2.
  • diskpartition = <disk>[,<disk>,...]
    Node variable. Partition the specified disk according to the information in the filesystems variable.
  • diskformat = <partition1>[,<partition2>,...]
    Node variable. Format the specified partitions according to their types listed in the filesystems variable.
  • bootloader = <disk>
    Node variable. During the mkbootable phase of provisioning, write a grub bootloader to the MBR of the specified disk. Requires that grub be installed in the VNFS you have provisioned, and that you have a kernel in /boot.