tests: networking: Use 'net.ifnames=0' for the Open vSwitch test.
* gnu/tests/networking.scm (%openvswitch-os): Override KERNEL-ARGUMENTS.
This commit is contained in:
parent
1abf205d11
commit
54461153da
1 changed files with 10 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
||||
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2017, 2020 Marius Bakke <marius@gnu.org>
|
||||
;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
|
||||
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
|
||||
;;;
|
||||
|
@ -174,12 +174,15 @@ (define openvswitch-configuration-service
|
|||
(respawn? #f)))))
|
||||
|
||||
(define %openvswitch-os
|
||||
(simple-operating-system
|
||||
(operating-system
|
||||
(inherit (simple-operating-system
|
||||
(static-networking-service "ovs0" "10.1.1.1"
|
||||
#:netmask "255.255.255.252"
|
||||
#:requirement '(openvswitch-configuration))
|
||||
(service openvswitch-service-type)
|
||||
openvswitch-configuration-service))
|
||||
;; Ensure the interface name does not change depending on the driver.
|
||||
(kernel-arguments (cons "net.ifnames=0" %default-kernel-arguments))))
|
||||
|
||||
(define (run-openvswitch-test)
|
||||
(define os
|
||||
|
|
Loading…
Reference in a new issue