hydra: berlin: Fix static networking service.
Fix the following error: service networking provided more that once by using a single static-networking record for both interfaces. * hydra/berlin.scm: Fix the static networking service.
This commit is contained in:
parent
bb94f29188
commit
ffb5e62784
|
@ -219,16 +219,23 @@ Happy hacking!\n"))
|
|||
activation-service-type
|
||||
%copy-kernel-and-initrd)
|
||||
|
||||
;; Connection to the DMZ for public access
|
||||
;; This is a 10G port.
|
||||
(static-networking-service "eno2"
|
||||
"141.80.181.40"
|
||||
#:netmask "255.255.255.0"
|
||||
#:gateway "141.80.181.1")
|
||||
;; Connection to build nodes
|
||||
(static-networking-service "eno1"
|
||||
"141.80.167.131"
|
||||
#:netmask "255.255.255.192")
|
||||
(service static-networking-service-type
|
||||
(list (static-networking
|
||||
(addresses
|
||||
(list
|
||||
;; Connection to the DMZ for public access
|
||||
;; This is a 10G port.
|
||||
(network-address
|
||||
(device "eno2")
|
||||
(value "141.80.181.40/24"))
|
||||
;; Connection to build nodes
|
||||
(network-address
|
||||
(device "eno1")
|
||||
(value "141.80.167.131/26"))))
|
||||
(routes
|
||||
(list (network-route
|
||||
(destination "default")
|
||||
(gateway "141.80.181.1")))))))
|
||||
|
||||
;; Allow login over serial console.
|
||||
(agetty-service (agetty-configuration
|
||||
|
|
Loading…
Reference in New Issue