Skip to content

Commit 0afc2af

Browse files
committed
feat(network-manager): write info about NTP servers in dhcpopts file
jsc#PED-16110 (cherry picked from dracut-ng/dracut#2397)
1 parent 4f0830f commit 0afc2af

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

modules.d/35network-manager/nm-run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ dhcpopts_create() {
5353
kf_parse root-path new_root_path < "$1"
5454
kf_parse next-server new_next_server < "$1"
5555
kf_parse dhcp-bootfile filename < "$1"
56+
kf_parse dhcp4.ntp_servers new_ntp_servers < "$1"
57+
kf_parse dhcp6.ntp_servers new_dhcp6_ntp_servers < "$1"
5658
}
5759

5860
for _i in /sys/class/net/*; do

0 commit comments

Comments
 (0)