prepared *.net{work,dev} files to work with str.format()

This commit is contained in:
Pranav Jerry 2021-09-26 13:31:36 +05:30
parent 25ac54dfad
commit 8f905ed970
Signed by: pranav
GPG Key ID: F1DCDC4FED0A0C5B
8 changed files with 12 additions and 11 deletions

View File

@ -35,4 +35,4 @@ See README.md for documentation.
#
# In case you forgot to change the version, skip the number
# and put the next number in the next commit.
__version__ = "0.4.0a1"
__version__ = "0.4.0a3"

View File

@ -1,7 +1,7 @@
# Create the BATMAN interface
# See 04-batman.network for configuration details
[NetDev]
Name=bat0
Name={batdev}
Description=BATMAN interface
Kind=batadv

View File

@ -2,7 +2,7 @@
# The batman interface be will later linked to this bridge.
# See 07-bridge.network to see how this bridge is configured
[NetDev]
Name=bridge0
Name={bridgedev}
Description=Bridge
Kind=bridge

View File

@ -10,7 +10,7 @@ MTUBytes=1560
[Network]
Description=ad-hoc network connecting to other nodes
BatmanAdvanced=bat0
BatmanAdvanced={batdev}
# This interface should not have any IP addresses assigned.
# IP will be given later to the bridge
DHCP=no

View File

@ -1,9 +1,9 @@
[Match]
Name=bat0
Name={batdev}
[Network]
Description=The BATMAN interface
Bridge=bridge0
Bridge={bridgedev}
# like in 03-wireless-ad-hoc.network, this interface
# also shouldn't have IP address the address will

View File

@ -11,7 +11,7 @@ WLANInterfaceType=ap
Description=Wireless AP
# link the interface to the bridge
Bridge=bridge0
Bridge={bridgedev}
# Like in the ad-hoc network and bat0, this interface
# should not have any ip address assigned to it.

View File

@ -5,4 +5,4 @@ Name=en*
Name=eth*
[Network]
Bridge=bridge0
Bridge={bridgedev}

View File

@ -3,13 +3,14 @@
# communicate with others devices
[Match]
Name=bridge0
Name={bridgedev}
[Network]
# use DHCP to assign an IP
# Use DHCP to assign an IP
DHCP=yes
# if DHCP fails, assign a random address
# If DHCP fails, assign a random address. This is probably the default,
# but we are specifying it anyway.
LinkLocalAddressing=yes
# LLMNR and MulticastDNS are used for hostname discovery