mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +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
|
Address=192.168.5.1/24
|
||||||
IPForward=ipv4
|
IPForward=ipv4
|
||||||
DHCPServer=yes
|
DHCPServer=yes
|
||||||
|
|
||||||
[DHCPServer]
|
[DHCPServer]
|
||||||
BindToInterface=no
|
BindToInterface=no
|
||||||
PoolOffset=150
|
PoolOffset=150
|
||||||
PoolSize=1
|
PoolSize=1
|
||||||
|
DNS=192.168.5.1
|
||||||
|
NTP=192.168.5.1
|
||||||
|
@ -11,3 +11,5 @@ PoolOffset=10
|
|||||||
PoolSize=50
|
PoolSize=50
|
||||||
EmitRouter=yes
|
EmitRouter=yes
|
||||||
Timezone=Europe/Berlin
|
Timezone=Europe/Berlin
|
||||||
|
DNS=192.168.5.1
|
||||||
|
NTP=192.168.5.1
|
||||||
|
@ -9,3 +9,7 @@ IPv6SendRA=yes
|
|||||||
|
|
||||||
[IPv6Prefix]
|
[IPv6Prefix]
|
||||||
Prefix=2002:da8:1:0::/64
|
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