Files
warewulf/etc/nodes.conf

78 lines
1.9 KiB
Plaintext

nodeprofiles:
default:
comment: "Hello from the default profile"
vnfs: ""
kernel version: ""
kernel args: crashkernel=no quiet
control:
localhost:
comment: This is the first control system
ipaddr: 192.168.1.1
services:
warewulfd:
port: 9873
secure: true
dhcp:
enabled: true
range start: 192.168.1.100
range end: 192.168.1.250
assign static: false
config file: /etc/dhcp/dhcpd.conf
start command: systemctl start dhcpd
restart command: systemctl restart dhcpd
enable command: systemctl enable dhcpd
tftp:
enabled: true
tftproot: /var/lib/tftproot
start command: service tftp start
restart command: service tftp restart
enable command: chkconfig tftp on
nfs:
enabled: true
config file: /etc/exports
exports:
- /var/warewulf 192.168.1.1/255.255.255.0(ro,no_root_squash)
- /home 192.168.1.1/255.255.255.0(rw,no_root_squash)
start command: service nfs start
restart command: service nfs restart
enable command: chkconfig nfs on
nodes:
n0000.cluster01:
profiles:
- default
netdevs:
eth0:
type: ethernet
hwaddr: 00:0c:29:23:8b:48
ipaddr: 192.168.1.100
netmask: 255.255.255.0
gateway: 192.168.1.1
ib0:
type: infiniband
hwaddr: aa:bb:cc:dd:ee:a0
ipaddr: 192.168.10.100
netmask: 255.255.255.0
n0001.cluster01:
profiles:
- default
netdevs:
eth0:
hwaddr: aa:bb:cc:dd:ee:b0
ipaddr: 192.168.1.101
netmask: 255.255.255.0
gateway: 192.168.1.1
ib0:
hwaddr: aa:bb:cc:dd:ee:b1
ipaddr: 192.168.10.100
netmask: 255.255.255.0
n0000.cluster02:
netdevs:
eth0:
hwaddr: aa:bb:cc:dd:ee:c0
ipaddr: 192.168.2.100
netmask: 255.255.255.0
gateway: 192.168.1.1