WAREWULF.CONF(5)

๐Ÿ“ฆ version 4.7.1, in opensuse-leap 16.0

โœจ warewulf.conf(5) โ€” warewulf.conf โœจ

okay so this is the warewulf.conf(5) page, bestie โ€” File Formats Manual energy, main-character config vibes. ๐Ÿ’…

๐Ÿ’– NAME ๐Ÿ’–

warewulf.conf โ€” Warewulf server configuration file

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

warewulf.conf is the main configuration file for the Warewulf server daemon, and it defines the configuration for its service dependencies โ€” including dhcp, tftp, and nfs. ๐Ÿซถ

warewulf.conf is defined using YAML document markup syntax. Yes, YAML. Be normal about the indentation. ๐Ÿ˜ญ

๐ŸŒธ PARAMETERS ๐ŸŒธ

The configuration parameters available include:

  • ipaddr โ€” This is the control nodeโ€™s networking interface connecting to the clusterโ€™s private network. This configuration must match the hostโ€™s network IP address for the clusterโ€™s private interface. ๐Ÿ’–
  • ipaddr6 โ€” This is the control nodeโ€™s networking interface connecting to the clusterโ€™s IPv6 private network. This configuration must match the hostโ€™s network IP address for the clusterโ€™s private interface. โœจ
  • network โ€” The subnet address for the clusterโ€™s private network, used in conjunction with the netmask parameter.
  • netmask โ€” Similar to the ipaddr, this is the subnet mask for the clusterโ€™s private network, and it must also match the hostโ€™s subnet mask for the clusterโ€™s private interface.

๐Ÿ‘‘ WAREWULF

The warewulf parameter is a map of individual sub-parameters which configure Warewulf specifically. (See the EXAMPLE section for overall structure.) ๐Ÿ‘‘

  • port โ€” This is the port that the Warewulf web server will be listening on. It is recommended not to change this so there is no misalignment with nodeโ€™s expectations of how to contact the Warewulf service.

Default: 9873

  • secure โ€” When true, this limits the Warewulf server to only respond to runtime overlay requests originating from a privileged port. This prevents non-root users from requesting the runtime overlay, which may contain sensitive information.

When true, wwclient uses TCP port 987.

Changing this option requires rebuilding node overlays and rebooting compute nodes, to configure them to use a privileged port. โš ๏ธ

Default: true

  • update interval โ€” The frequency (in seconds) with which wwclient will fetch its configuration (e.g., its overlays) from the Warewulf server.

Default: 60

  • autobuild overlays โ€” When true, overlays will be automatically rebuilt when indicated by changes to nodes, profiles, and overlays.

Default: true

  • host overlay โ€” Host overlays are used to configure dependent services on the Warewulf server. When disabled, these servicesโ€™ configuration files will not be updated by wwctl-configure(1).

Default: true

  • datastore โ€” The location where Warewulf caches and stores OCI data.

Default: /var/lib/warewulf

๐Ÿ“ก DHCP

The dhcp parameter is a map of individual sub-parameters which inform how wwctl-configure(1) should configure the DHCP service. (See the EXAMPLE section for overall structure.) ๐Ÿ“ก

  • enabled โ€” When false, the DHCP service will not be configured by wwctl-configure(1).

Default: true

  • range start โ€” An IP address which defines the start of a dynamic address range which can be used when configuring the DHCP service. Provided to the host overlay as the variable $.Dhcp.RangeStart, typically for use in generating dhcpd.conf or similar.

Templates typically expect this range to be within the network defined above.

  • range end โ€” An IP address which defines the end of a dynamic address range which can be used when configuring the DHCP service. Provided to the host overlay as the variable $.Dhcp.RangeEnd, typically for use in generating dhcpd.conf or similar.

Templates typically expect this range to be within the network defined above.

  • systemd name โ€” The systemd unit name which will be used to (re)start the DHCP service during wwctl-configure(1), if necessary.

Default: dhcpd

๐Ÿฅพ TFTP

The tftp parameter is a map of individual sub-parameters which inform how wwctl-configure(1) should configure the TFTP service. (See the EXAMPLE section for overall structure.) ๐Ÿฅพ

  • enabled โ€” When false, the TFTP service will not be configured by wwctl-configure(1).

Default: true

  • systemd name โ€” The systemd unit name which will be used to (re)start the TFTP service during wwctl-configure(1), if necessary.

Default: tftp

๐Ÿ—‚๏ธ NFS

The nfs parameter is a map of individual sub-parameters which inform how wwctl-configure(1) should configure the NFS service. (See the EXAMPLE section for overall structure.) ๐Ÿ—‚๏ธ

  • enabled โ€” When false, the NFS service will not be configured by wwctl-configure(1).

Default: true

  • export paths โ€” A list of paths to be exported by the NFS service. Each item in the list is, itself, a map of parameters for the export. (See the EXAMPLE section for overall structure.)
    • path โ€” The path on the server to be exported via the NFS service. Provided to the host overlay as the variable .Nfs.ExportsExtended[].Path, typically for use in generating /etc/exports or similar.
    • export options โ€” The NFS export options to use when exporting the given path via the NFS service. Provided to the host overlay as the variable .Nfs.ExportsExtended[].ExportOptions, typically for use in generating /etc/exports or similar.

Default: rw,sync,no_subtree_check

  • systemd name โ€” The systemd unit name which will be used to (re)start the NFS service during wwctl-configure(1), if necessary.

Default: nfsd

โœจ EXAMPLE โœจ

A sample configuration file for a typical deployment, with all dependent services enabled. ๐ŸŽ€

ipaddr: 10.0.0.1
network: 10.0.0.0
netmask: 255.255.0.0
warewulf:
  port: 9873
  secure: false
  update interval: 60
  autobuild overlays: true
  host overlay: true
  datastore: ""
dhcp:
  enabled: true
  range start: 10.0.0.10
  range end: 10.0.0.99
  systemd name: dhcpd
tftp:
  enabled: true
  systemd name: tftp
nfs:
  enabled: true
  export paths:
  - path: /home
    export options: rw,sync
  - path: /opt
    export options: ro,sync,no_root_squash
  systemd name: nfs-server

๐Ÿ”— SEE ALSO ๐Ÿ”—

wwctl-server(1), wwctl-configure(1), nodes.conf(5)


okay bye bestie ๐Ÿซถ โ€” this was warewulf.conf(5); the page footer signs off as WAREWULF.CONF(5) from the File Formats Manual, and thatโ€™s the source/version/date line in this copy, so itโ€™s officially name-dropped. ๐Ÿ’œ

๐Ÿ“ฆ where this page comes from