Misc whitespace handling fixes

Also fixes handling of mtu value in Debian networking.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-10-18 00:31:19 -04:00
parent d3cd31fdc0
commit 4b4234994c
6 changed files with 19 additions and 21 deletions

View File

@@ -57,7 +57,7 @@ iface wwnet0 inet static
address 192.168.3.21
netmask 255.255.255.0
gateway 192.168.3.1
mtu
mtu 1500
backupFile: true
writeFile: true
Filename: secondary
@@ -68,6 +68,6 @@ iface wwnet1 inet static
address 192.168.3.22
netmask 255.255.255.0
gateway 192.168.3.1
mtu
mtu 9000
up ifmetric wwnet1 30
`

View File

@@ -7,9 +7,11 @@ nodes:
ipaddr: 192.168.3.21
netmask: 255.255.255.0
gateway: 192.168.3.1
mtu: 1500
secondary:
device: wwnet1
hwaddr: 9a:77:29:73:14:f1
ipaddr: 192.168.3.22
netmask: 255.255.255.0
gateway: 192.168.3.1
mtu: 9000