]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
fix(systemd-networkd): correct path of 99-default.network on hostonly=no
authorBenjamin Drung <benjamin.drung@canonical.com>
Wed, 29 Oct 2025 11:27:13 +0000 (12:27 +0100)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Wed, 29 Oct 2025 13:15:29 +0000 (09:15 -0400)
commit523c9b05aef1fa57d0623511137572287a76769d
tree6a2549112f5dd1e8d308f1a174785d9957f7b8ef
parenta80703e89cc65c184b6a04c8fa9a985e0ecea571
fix(systemd-networkd): correct path of 99-default.network on hostonly=no

Commit 2991f74ab46389947ce8f96b87a7abdc1862cbb6 ("chore(dracut): enforce
that /etc is only used in hostonly mode") does not set
`systemdnetworkconfdir` any more on `hostonly=no`. This causes the
systemd-network module to install `99-default.network` to
`/zzzz-dracut-default.network` on generic builds and therefore loosing
this network config.

Install `99-default.network` to the system path in `/usr` instead.
modules.d/11systemd-networkd/module-setup.sh