Skip to content

Commit

Permalink
nixos/tests/systemd-networkd-vrf: fix eval
Browse files Browse the repository at this point in the history
The `Metric`-values of routes defined via `networkd` must be integers.
  • Loading branch information
Ma27 committed Oct 13, 2020
1 parent 47cb5a4 commit b199005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/tests/systemd-networkd-vrf.nix
Expand Up @@ -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; }; }
];
};

Expand Down

0 comments on commit b199005

Please sign in to comment.