Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add puppet highlighting for SLES, add default route config for Debian
  • Loading branch information
thonixx authored Sep 26, 2024
1 parent 6f76c55 commit 0c54513
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -90,7 +100,7 @@ network_route { '10.0.0.2':

For SLES:

```sh
```puppet
network_route { 'default':
ensure => 'present',
gateway => '10.0.2.2',
Expand Down

0 comments on commit 0c54513

Please sign in to comment.