Refactor the things that are common between bird and frr build types -- no-op for the build/ output
This commit is contained in:
1
overlays/_common/common/etc/hostname.j2
Normal file
1
overlays/_common/common/etc/hostname.j2
Normal file
@ -0,0 +1 @@
|
||||
{{ node.hostname }}
|
7
overlays/_common/common/etc/hosts.j2
Normal file
7
overlays/_common/common/etc/hosts.j2
Normal file
@ -0,0 +1,7 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 {{node.hostname}}.lab.ipng.ch {{node.hostname}}
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
28
overlays/_common/common/etc/motd
Normal file
28
overlays/_common/common/etc/motd
Normal file
@ -0,0 +1,28 @@
|
||||
-*%%=
|
||||
=%@@@@@:
|
||||
:%@@@@@@@*
|
||||
:*@@@@@@@@@@ .=+-
|
||||
:=*#%@@@@@@@@@@@@@+ .+@@@@#
|
||||
.+@@@@@@@@@@@@@@@@@@@@##@@@@@@@=
|
||||
+@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@*
|
||||
=@@@@@@@@@#=: *@@@@%#*+*@@@@@@@#
|
||||
-%@@@@@@@*- ::. :*@@@@@@@@@
|
||||
=%@@@@@@@+ *@@@@@@@@@@@*
|
||||
:*@@@@@@@@+ %@@@@@@@@@@@@@@+.
|
||||
-*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*.
|
||||
.-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+
|
||||
:=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@#
|
||||
:+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@#
|
||||
.=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@#
|
||||
.-=-: ..:-=+*#%@@@@@@@@@@@@@@-
|
||||
..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@*
|
||||
.:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@%
|
||||
..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+-
|
||||
.:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-.
|
||||
.:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%=
|
||||
https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-.
|
||||
IPng Networks GmbH :=*%@@@@@@@@@@@@@%*-
|
||||
:=*%@@@@@@@#+-.
|
||||
Restricted access. Authorized users only. :=+-.
|
||||
All connections are monitored and recorded. Contact <noc@ipng.ch> for details.
|
||||
|
@ -0,0 +1,7 @@
|
||||
domain lab.ipng.ch
|
||||
search{% for domain in lab.nameserver.search %} {{domain}}{%endfor %}
|
||||
|
||||
{% for resolver in lab.nameserver.addresses %}
|
||||
nameserver {{resolver}}
|
||||
{%endfor%}
|
||||
|
16
overlays/_common/common/etc/netplan/01-netcfg.yaml.j2
Normal file
16
overlays/_common/common/etc/netplan/01-netcfg.yaml.j2
Normal file
@ -0,0 +1,16 @@
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
enp1s0:
|
||||
optional: true
|
||||
accept-ra: false
|
||||
dhcp4: false
|
||||
mtu: 9000
|
||||
addresses: [ {{node.mgmt.ipv4}}, {{node.mgmt.ipv6}} ]
|
||||
routes:
|
||||
- to: 0.0.0.0/0
|
||||
via: {{lab.mgmt.gw4}}
|
||||
- to: ::/0
|
||||
via: {{lab.mgmt.gw6}}
|
||||
|
6
overlays/_common/common/etc/resolv.conf.j2
Normal file
6
overlays/_common/common/etc/resolv.conf.j2
Normal file
@ -0,0 +1,6 @@
|
||||
domain lab.ipng.ch
|
||||
search{% for domain in lab.nameserver.search %} {{domain}}{%endfor %}
|
||||
|
||||
nameserver 194.1.163.3
|
||||
nameserver 194.1.163.4
|
||||
|
Reference in New Issue
Block a user