From 6d3b103c8fb2c478f824cc4ae39ddf09c9365cd1 Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Sat, 8 Aug 2026 14:20:23 +0200 Subject: [PATCH] Disable reachability-check of default-route for agents I faced a couple of network issues, mostly caused by network restarts. In these cases, the configured default route was not added, and the logs suggested enabling the GatewayOnLink option. This change actually does this. Beside that, the dedicated Route-section highlights that the options belong to the routing. --- roles/agent-setup/templates/nic.network.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/agent-setup/templates/nic.network.j2 b/roles/agent-setup/templates/nic.network.j2 index ec2570e..6178240 100644 --- a/roles/agent-setup/templates/nic.network.j2 +++ b/roles/agent-setup/templates/nic.network.j2 @@ -2,4 +2,6 @@ Name={{ target_nic }} [Network] DHCP=yes +[Route] Gateway={{ private_nat }} +GatewayOnLink=yes