diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-10-27 12:29:56 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-12-12 23:20:50 +0100 |
commit | f73ba627abd46018da7f6f41ebd5efb99412cc54 (patch) | |
tree | a4ad531665ba0e71178cdf18bdb167cc8eb481f1 /gnu/tests/ganeti.scm | |
parent | 5967aee398c26a4814da1d8dba3f2dba84b06a4b (diff) | |
download | guix-f73ba627abd46018da7f6f41ebd5efb99412cc54.tar.gz |
tests: Replace uses of deprecated 'static-networking-service'.
* gnu/tests/ganeti.scm (%ganeti-os): Replace call to 'static-networking-service' by instantiating STATIC-NETWORKING-SERVICE-TYPE. * gnu/tests/networking.scm (%test-static-networking) (%openvswitch-os, %dhcpd-os): Likewise.
Diffstat (limited to 'gnu/tests/ganeti.scm')
-rw-r--r-- | gnu/tests/ganeti.scm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/tests/ganeti.scm b/gnu/tests/ganeti.scm index 5ac2fd48dd..c29b885a5e 100644 --- a/gnu/tests/ganeti.scm +++ b/gnu/tests/ganeti.scm @@ -59,11 +59,8 @@ (packages (append (list ganeti-instance-debootstrap ganeti-instance-guix) %base-packages)) (services - (append (list (static-networking-service "eth0" "10.0.2.15" - #:netmask "255.255.255.0" - #:gateway "10.0.2.2" - #:name-servers '("10.0.2.3")) - + (append (list (service static-networking-service-type + (list %qemu-static-networking)) (service openssh-service-type (openssh-configuration (permit-root-login 'prohibit-password))) |