From 0c545136a2be1a31f7c39f2774c27fd74e1bcd47 Mon Sep 17 00:00:00 2001 From: Wolf Date: Thu, 26 Sep 2024 16:41:05 +0200 Subject: [PATCH] Update README.md Add puppet highlighting for SLES, add default route config for Debian --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f68b55c..bc77b17 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,16 @@ Default routes should be named 'default'. For Debian: ```puppet +# default route +network_route { 'default': + ensure => 'present', + network => 'default', + netmask => '0.0.0.0', + gateway => '172.18.6.2', + interface => 'enp3s0f0', +} + +# specific route network_route { '172.17.67.0/24': ensure => 'present', gateway => '172.18.6.2', @@ -90,7 +100,7 @@ network_route { '10.0.0.2': For SLES: -```sh +```puppet network_route { 'default': ensure => 'present', gateway => '10.0.2.2',