aboutsummaryrefslogtreecommitdiff
path: root/ansible/plays/templates/lhn2pi
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-09-17 20:37:22 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-09-17 20:37:22 +0200
commit3832accbe548e8bec76e5a54bff13d6670cc40af (patch)
tree1701acd79b7a769ec757a2d0d83a7e3343f1b777 /ansible/plays/templates/lhn2pi
parent8353376b24e6f2c038575c8d378c348c4ee5e092 (diff)
downloadinfra-3832accbe548e8bec76e5a54bff13d6670cc40af.tar.gz
infra-3832accbe548e8bec76e5a54bff13d6670cc40af.tar.bz2
infra-3832accbe548e8bec76e5a54bff13d6670cc40af.tar.xz
infra-3832accbe548e8bec76e5a54bff13d6670cc40af.zip
lhn2pi
Diffstat (limited to 'ansible/plays/templates/lhn2pi')
-rw-r--r--ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network7
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network b/ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network
new file mode 100644
index 0000000..f17b3f9
--- /dev/null
+++ b/ansible/plays/templates/lhn2pi/systemd/network/10-eth0.network
@@ -0,0 +1,7 @@
+[Match]
+Name=eth0
+
+[Network]
+DHCP=ipv4
+Address={{ ipam6.networks.lhn2_dn42.hosts.lhn2pi }}
+# IPv6Forwarding=yes # needs newer systemd