SHA256
1
0
forked from pool/warewulf4
Go to file
Christian Goll 4f7337ce84 Accepting request 1173599 from home:mslacken:pr
- updated to version 4.5.1 with following changes
  * wwctl [profile|node] list -a handles now slices correclty
  * Fix a locking issue with concurrent read/writes for node status
- removed fixed-ShimFind-for-aarch64.patch as incoperated upstreams
- Remove API package as use of this wasn't documented

- use tftp.socket for activation not service (bsc#1216994)

OBS-URL: https://build.opensuse.org/request/show/1173599
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=72
2024-05-13 08:33:03 +00:00
_service Accepting request 970166 from home:mslacken:pr 2022-04-14 13:46:48 +00:00
.gitattributes Accepting request 923039 from home:mslacken:pr 2021-10-04 13:57:59 +00:00
.gitignore Accepting request 923039 from home:mslacken:pr 2021-10-04 13:57:59 +00:00
adjust_overlays.sh Accepting request 1161171 from home:eeich:branches:network:cluster 2024-03-25 10:50:34 +00:00
config-ww4.sh Accepting request 1146236 from home:eeich:branches:network:cluster 2024-02-12 21:54:08 +00:00
README.dnsmasq Accepting request 1139432 from home:mslacken:pr 2024-01-17 13:10:53 +00:00
warewulf4-rpmlintrc Accepting request 1146236 from home:eeich:branches:network:cluster 2024-02-12 21:54:08 +00:00
warewulf4-v4.5.1.tar.gz Accepting request 1173599 from home:mslacken:pr 2024-05-13 08:33:03 +00:00
warewulf4.changes Accepting request 1173599 from home:mslacken:pr 2024-05-13 08:33:03 +00:00
warewulf4.spec Accepting request 1173599 from home:mslacken:pr 2024-05-13 08:33:03 +00:00

Replace dhcpd and tftp with dnsmasq
===================================

The isc `dhcpd` server and `tftp` service can be replaced by `dnsmasq` as 
singe service, which has also the benefit that dns entries for the 
wwarewulf cluster will then also be provided.

Installation
-----------

Before the installation, make sure that `dhcpd` and `tftp` are disabled.
You can do that with the commands:
```
systemctl disable dhcpd
systemctl stop dhcpd
systemctl disable tftp
systemctl stop tftp
```

Now you can install `dnsmasq` with command 
```
zypper install dnsmasq
```

After the installation you have to instruct `warewulf` to use  `dnsmasq` as
`dhcpd` and `tftp` service, `dnsmasq` has to be specified in the configuration
file `/etc/warewulf/warewulf.conf`. There you have to change the two following 
values:
```
tftp:
  systemd name: dnsmasq
dhcp:
  systemd name: dnsmasq
```

The configuration of `dnsmasq` doesn't need to be changed, as the default configuration
includes all files with following pattern `/etc/dnsmasq.d/*conf` into its configuration.
This configuration is created by the template `overlays/host/etc/dnsmasq.d/ww4-hosts.conf.ww`.
In order to build this template run
```
wwctl overlay build -H
```
After that the `dnsmasq` service has to be enabled with either
```
systemctl enable --now dnsmasq
```
or by (re)configuring warewulf with 
```
wwctl configure dhcp
wwctl configure tftp
```