]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
fix(systemd-networkd): get DHCP options values from networkctl main
authorLuca Boccassi <luca.boccassi@gmail.com>
Sun, 31 May 2026 14:29:50 +0000 (15:29 +0100)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Tue, 2 Jun 2026 12:35:55 +0000 (08:35 -0400)
commit7c57b1cccd4100351da5258ac6a22e07608a5e85
treeed27d895eacd74784f2a2e21051ee3d8d0824362
parent7ef765d658bc52fd300d7c9a220daad4220f62f1
fix(systemd-networkd): get DHCP options values from networkctl

The internal lease is no longer saved to the private /run/ directory
of networkd since v261, so it cannot be read from there. It was always
clearly marked as private anyway.
Use the new 'dhcp-lease' networkctl verb to print it instead.
modules.d/11systemd-networkd/module-setup.sh
modules.d/11systemd-networkd/networkd-run.sh