mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
move ifupdown2/* .
ifupdown2 code was one level deeper because ifupdown2 initially had ifupdown2 and ifupdown2-addons as two separate packages. Since they were combined into one package, it makes sense to move all combined code under the top level directory Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
This commit is contained in:
24
docs/examples/interfaces_with_template
Normal file
24
docs/examples/interfaces_with_template
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# Example interfaces file using mako templates
|
||||
#
|
||||
# The below section can be copied into
|
||||
# /etc/network/interfaces file
|
||||
# or
|
||||
# to a file under /etc/network/interfaces.d/
|
||||
# and include in the interfaces file using the
|
||||
# 'source' command.
|
||||
#
|
||||
# see manpage interfaces(5) for details
|
||||
#
|
||||
#
|
||||
|
||||
%for v in range(1000,1100):
|
||||
auto vlan-${v}
|
||||
iface vlan-${v} inet static
|
||||
bridge-ports glob swp1-6.${v}
|
||||
bridge-stp on
|
||||
bridge-ageing 200
|
||||
bridge-maxage 10
|
||||
bridge-fd 10
|
||||
%endfor
|
||||
|
Reference in New Issue
Block a user