mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
test-network: set DNS= and NTP= for DHCP server
Now, RoutesToDNS= and RoutesToNTP= are enabled by default on DHCPv4 client. So, if DHCP server picks up DNS or NTP servers from uplink, then the routes may break CI environment. Hopefully fixes #19463.
This commit is contained in:
parent
96ae72ce1a
commit
4bd7e99232
@ -4,7 +4,10 @@ Name=server
|
||||
Address=192.168.5.1/24
|
||||
IPForward=ipv4
|
||||
DHCPServer=yes
|
||||
|
||||
[DHCPServer]
|
||||
BindToInterface=no
|
||||
PoolOffset=150
|
||||
PoolSize=1
|
||||
DNS=192.168.5.1
|
||||
NTP=192.168.5.1
|
||||
|
@ -11,3 +11,5 @@ PoolOffset=10
|
||||
PoolSize=50
|
||||
EmitRouter=yes
|
||||
Timezone=Europe/Berlin
|
||||
DNS=192.168.5.1
|
||||
NTP=192.168.5.1
|
||||
|
@ -9,3 +9,7 @@ IPv6SendRA=yes
|
||||
|
||||
[IPv6Prefix]
|
||||
Prefix=2002:da8:1:0::/64
|
||||
|
||||
[DHCPServer]
|
||||
DNS=192.168.5.1
|
||||
NTP=192.168.5.1
|
||||
|
Loading…
Reference in New Issue
Block a user