tests: dhcpd: Adjust network interface name.

This is a followup to 8e53fe2b91.

* gnu/tests/networking.scm (dhcpd-v4-configuration)
(%dhcpd-os): Use "ens3" instead of "eth0".
This commit is contained in:
Ludovic Courtès 2020-03-16 11:17:15 +01:00
parent 4df02ab675
commit ef0f5ff2a7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -270,11 +270,11 @@ (define dhcpd-v4-configuration
(dhcpd-configuration
(config-file minimal-dhcpd-v4-config-file)
(version "4")
(interfaces '("eth0"))))
(interfaces '("ens3"))))
(define %dhcpd-os
(simple-operating-system
(static-networking-service "eth0" "192.168.1.4"
(static-networking-service "ens3" "192.168.1.4"
#:netmask "255.255.255.0"
#:gateway "192.168.1.1"
#:name-servers '("192.168.1.2" "192.168.1.3"))