From ea6320a55d20b819e4ab534eecc4b675c6fa6fec Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Tue, 17 Mar 2026 18:48:54 +0100 Subject: [PATCH] Replace deprecated gateway4 with routes syntax in netplan examples The gateway4 key is deprecated in netplan and causes errors on Ubuntu 24.04. Use the routes syntax instead, consistent with the network configuration guide. (osism/issues#1334) Closes osism/issues#1334 AI-assisted: Claude Code Signed-off-by: Christian Berendt --- .../configuration-guide/configuration-repository.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/guides/configuration-guide/configuration-repository.md b/docs/guides/configuration-guide/configuration-repository.md index 66eb1c1e09..165ec41146 100644 --- a/docs/guides/configuration-guide/configuration-repository.md +++ b/docs/guides/configuration-guide/configuration-repository.md @@ -208,7 +208,9 @@ as manager in your own cluster. eno1: addresses: - "192.168.16.10/20" - gateway4: "192.168.16.1" + routes: + - to: default + via: "192.168.16.1" mtu: 1500 ``` @@ -331,7 +333,9 @@ as manager in your own cluster. eno1: addresses: - "192.168.16.10/20" - gateway4: "192.168.16.1" + routes: + - to: default + via: "192.168.16.1" mtu: 1500 ```