Subject: service networking provided more than once

From: Mathieu Othacehe <[email-masked]>
Date: Wed, 15 Dec 2021 14:04:32 +0100

Hello,

When using this service:

--8<---------------cut here---------------start------------->8---
(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"))))
                 (routes
                  (list (network-route
                         (destination "default")
                         (gateway "141.80.181.1")))))
                (static-networking
                 (addresses
                  (list
                   ;; Connection to build nodes
                   (network-address
                    (device "eno1")
                    (value "141.80.167.131/26")))))))
--8<---------------cut here---------------end--------------->8---

I have the following error message:

--8<---------------cut here---------------start------------->8---
service networking provided more that once
--8<---------------cut here---------------end--------------->8---

I guess it boils down to tweak the "provision" field accordingly, but it
should be automated or documented properly.

Thanks,

Mathieu