Am 18/11/2022 um 10:36 schrieb Wolfgang Bumiller:
> While the template has systemd-networkd enabled, the lack of
> /etc/machine-id causes systemd to revert to its "preset",
> where now in
>   /usr/lib/systemd/system-preset/90-default.preset
> fedora disables systemd-networkd in favor of NetworkManager.
> 
> Without this patch, the first boot of a fresh fedora 37
> container would disable networking requiring a
> `systemctl enable systemd-networkd` from within the
> container once, after which it sticks around (until
> /etc/machine-id is deleted).
> 
> This patch provides an
> `/etc/systemd/system-preset/00-pve.preset` file to keep
> systemd-networkd enabled via the `template_fixup` hook.
> 
> Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com>
> ---
>  src/PVE/LXC/Setup/Fedora.pm | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
>

applied, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to