and configures tmpfs to spread the node image across all available NUMA nodes. It also improves the detection of kernels in the container image to more reliably detect the newest available kernel and to avoid debug / rescue kernels. - Warewulf v4.5.7 fixes the ability to override overlay files configured in profiles with overlays configured per-node; fixes a template processing bug bug in development-time overlay rendering; and improves the preview dracut-based boot process to better support a "secure" boot process. - removed added-cow-option-to-bind.patch as now in upstream * Show more information during `wwctl container <shell|exec>` about when and if the container image will be rebuilt. * Command-line completion for `wwctl overlay <edit|delete|chmod|chown>`. * Display an error during boot if no container is defined. * `wwctl container list --kernel` shows the kernel detected for each container. * `wwctl container list --size` shows the uncompressed size of each container. `--compressed` shows the compressed size, and `--chroot` shows the size of the container source on the server. * Add a logrotate config for `warewulfd.log`. OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=95
53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
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
|
|
```
|
|
|