1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-04 13:51:24 +03:00
systemd/test/test-network/conf/dhcp-server-timezone-router.network
Yu Watanabe 4bd7e99232 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.
2021-04-30 10:57:17 +02:00

16 lines
201 B
SYSTEMD

[Match]
Name=veth-peer
[Network]
IPv6AcceptRA=false
Address=192.168.5.1/24
DHCPServer=yes
[DHCPServer]
PoolOffset=10
PoolSize=50
EmitRouter=yes
Timezone=Europe/Berlin
DNS=192.168.5.1
NTP=192.168.5.1