From b199005979cafd9d279a6ca034fc36ffc038a31f Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 13 Oct 2020 22:38:15 +0200 Subject: [PATCH] nixos/tests/systemd-networkd-vrf: fix eval The `Metric`-values of routes defined via `networkd` must be integers. --- nixos/tests/systemd-networkd-vrf.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/systemd-networkd-vrf.nix b/nixos/tests/systemd-networkd-vrf.nix index bd4751f8e43..9f09d801f77 100644 --- a/nixos/tests/systemd-networkd-vrf.nix +++ b/nixos/tests/systemd-networkd-vrf.nix @@ -38,14 +38,14 @@ in { matchConfig.Name = "vrf1"; networkConfig.IPForward = "yes"; routes = [ - { routeConfig = { Destination = "192.168.1.2"; Metric = "100"; }; } + { routeConfig = { Destination = "192.168.1.2"; Metric = 100; }; } ]; }; networks."10-vrf2" = { matchConfig.Name = "vrf2"; networkConfig.IPForward = "yes"; routes = [ - { routeConfig = { Destination = "192.168.2.3"; Metric = "100"; }; } + { routeConfig = { Destination = "192.168.2.3"; Metric = 100; }; } ]; };