Files
warewulf/etc/nodes.conf
2020-12-01 23:33:01 -08:00

88 lines
2.5 KiB
Plaintext

nodeprofiles:
default:
comment: ""
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
nodegroups:
default:
comment: This is the default group
domain name: cluster01
profiles:
- default
nodes:
n0000:
hostname: n0000
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:
hostname: n0001
ipmi ipaddr: x.x.x.x
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
group_1:
comment: This is the group 1
domain name: group1
profiles:
- default
nodes:
n0000:
hostname: n0000
netdevs:
eth0:
hwaddr: aa:bb:cc:dd:ee:c0
ipaddr: 192.168.2.100
netmask: 255.255.255.0
gateway: 192.168.2.1