initramfs uses tmpfs regardless of whether root=tmpfs in Warewulf. As
such, 90-selinux needs to be updated to detect the actual provenance of
/, rather than the configured setting.
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
dracut.ipxe boots an initramfs detected in the container image. This
required a few small changes to warewulfd and the wwinit overlay to
accommodate the dracut initramfs configuring the network interface
before wwinit:
- Include .NetDevs in the ipxe configuration template, so that dracut
can configure interfaces with the correct names.
- Configure NetworkManager to not keep the initramfs configuration, in
stead applying the configuration found by wwinit.
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
Previously, the authentication key was always generated using rsa. Now
it uses the first configured ssh key type.
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
sprig replaces slice with a function that only operates on sprig lists.
substr is required for use with strings.
- Fixes: #1139
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
on unused/unmanaged network interfaces. Only act on interfaces.
configured via wwctl otherwise system NetworkManager-wait-online.service.
runs into a time out.
Move all overlay contents to a rootfs subdirectory, which was already
supported, and set ownership to root:root.
Closes#1078
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
80-wwclient was previously supplanted by 80-wwclient.ww, but the static
version was retained. Meanwhile, the static version can only detect
systemd when it is running, which it isn't during wwinit. This led to
wwclient starting during wwinit and then being killed by systemd.
Closes#1066
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
Also the boot method is now configured globaly as this is
the only way to make sure that unkonwn nodes get the right
stuff
Signed-off-by: Christian Goll <cgoll@suse.com>
persistent-net should not use the warewulf interface name as a default device
name because the network configuration scripts don't.
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
ww4-disks.target.ww was committed with a trailing space in its filename
which is both incorrect and breaks rendering of the template.
Signed-off-by: Christian Goll <cgoll@suse.com>