summary refs log tree commit diff
path: root/nixos/tests/systemd-networkd-vrf.nix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-10-13 22:38:15 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2020-10-13 22:39:02 +0200
commitb199005979cafd9d279a6ca034fc36ffc038a31f (patch)
tree1eac774c4fdbe79a7b29fc7192ca901d8a94b4f7 /nixos/tests/systemd-networkd-vrf.nix
parent47cb5a4c9f6f1e52557f8c795552ddecefa026e1 (diff)
downloadnixpkgs-b199005979cafd9d279a6ca034fc36ffc038a31f.tar
nixpkgs-b199005979cafd9d279a6ca034fc36ffc038a31f.tar.gz
nixpkgs-b199005979cafd9d279a6ca034fc36ffc038a31f.tar.bz2
nixpkgs-b199005979cafd9d279a6ca034fc36ffc038a31f.tar.lz
nixpkgs-b199005979cafd9d279a6ca034fc36ffc038a31f.tar.xz
nixpkgs-b199005979cafd9d279a6ca034fc36ffc038a31f.tar.zst
nixpkgs-b199005979cafd9d279a6ca034fc36ffc038a31f.zip
nixos/tests/systemd-networkd-vrf: fix eval
The `Metric`-values of routes defined via `networkd` must be integers.
Diffstat (limited to 'nixos/tests/systemd-networkd-vrf.nix')
-rw-r--r--nixos/tests/systemd-networkd-vrf.nix4
1 files 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; }; }
           ];
         };