From 8ccfd7a6597adc02f1a35f1ef41d989df56a280e Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 11 May 2023 11:04:56 +0200 Subject: [PATCH] nixos/tests/systemd-networkd-vrf: fix build For this round of ZHF: #230712 Failing Hydra build: https://hydra.nixos.org/build/219234565 Not sure why this a problem now and not in the past, but routes to the corresponding `/24`-subnet are only configured if addresses are specified with the correct CIDR. --- nixos/tests/systemd-networkd-vrf.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/tests/systemd-networkd-vrf.nix b/nixos/tests/systemd-networkd-vrf.nix index 3c18f788e927..b59e4a87b3fb 100644 --- a/nixos/tests/systemd-networkd-vrf.nix +++ b/nixos/tests/systemd-networkd-vrf.nix @@ -54,7 +54,7 @@ in { linkConfig.RequiredForOnline = "no"; networkConfig = { VRF = "vrf1"; - Address = "192.168.1.1"; + Address = "192.168.1.1/24"; IPForward = "yes"; }; }; @@ -63,7 +63,7 @@ in { linkConfig.RequiredForOnline = "no"; networkConfig = { VRF = "vrf2"; - Address = "192.168.2.1"; + Address = "192.168.2.1/24"; IPForward = "yes"; }; }; @@ -87,7 +87,7 @@ in { matchConfig.Name = "eth1"; linkConfig.RequiredForOnline = "no"; networkConfig = { - Address = "192.168.1.2"; + Address = "192.168.1.2/24"; IPForward = "yes"; }; }; @@ -108,7 +108,7 @@ in { matchConfig.Name = "eth2"; linkConfig.RequiredForOnline = "no"; networkConfig = { - Address = "192.168.2.3"; + Address = "192.168.2.3/24"; IPForward = "yes"; }; }; @@ -129,7 +129,7 @@ in { matchConfig.Name = "eth2"; linkConfig.RequiredForOnline = "no"; networkConfig = { - Address = "192.168.2.4"; + Address = "192.168.2.4/24"; IPForward = "yes"; }; };