tests: dhcpd: Adjust network interface name.
authorLudovic Courtès <ludo@gnu.org>
Mon, 16 Mar 2020 10:17:15 +0000 (11:17 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 16 Mar 2020 13:05:52 +0000 (14:05 +0100)
This is a followup to 8e53fe2b91d2776bc1529e7b34967c8f1d9edc32.

* gnu/tests/networking.scm (dhcpd-v4-configuration)
(%dhcpd-os): Use "ens3" instead of "eth0".

gnu/tests/networking.scm

index d123444..e90b247 100644 (file)
@@ -270,11 +270,11 @@ subnet 192.168.1.0 netmask 255.255.255.0 {
   (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"))