aboutsummaryrefslogtreecommitdiff
path: root/ansible/plays/templates/danneri/systemd-networkd
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-09-17 20:45:45 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-09-17 20:45:45 +0200
commit0ce711ed34b46940edc970e1d20a38218347c463 (patch)
treef79f6fff8dfe727d6edcb5d8e9c23b1306f02351 /ansible/plays/templates/danneri/systemd-networkd
parent3832accbe548e8bec76e5a54bff13d6670cc40af (diff)
downloadinfra-0ce711ed34b46940edc970e1d20a38218347c463.tar.gz
infra-0ce711ed34b46940edc970e1d20a38218347c463.tar.bz2
infra-0ce711ed34b46940edc970e1d20a38218347c463.tar.xz
infra-0ce711ed34b46940edc970e1d20a38218347c463.zip
danneri
Diffstat (limited to 'ansible/plays/templates/danneri/systemd-networkd')
-rw-r--r--ansible/plays/templates/danneri/systemd-networkd/enp1s0.netdev1
-rw-r--r--ansible/plays/templates/danneri/systemd-networkd/enp1s0.network9
2 files changed, 8 insertions, 2 deletions
diff --git a/ansible/plays/templates/danneri/systemd-networkd/enp1s0.netdev b/ansible/plays/templates/danneri/systemd-networkd/enp1s0.netdev
deleted file mode 100644
index 1e0ca6a..0000000
--- a/ansible/plays/templates/danneri/systemd-networkd/enp1s0.netdev
+++ /dev/null
@@ -1 +0,0 @@
-#
diff --git a/ansible/plays/templates/danneri/systemd-networkd/enp1s0.network b/ansible/plays/templates/danneri/systemd-networkd/enp1s0.network
index 1e0ca6a..a4c84ee 100644
--- a/ansible/plays/templates/danneri/systemd-networkd/enp1s0.network
+++ b/ansible/plays/templates/danneri/systemd-networkd/enp1s0.network
@@ -1 +1,8 @@
-#
+[Match]
+Name=enp1s0
+
+[Network]
+DHCP=ipv4
+
+[IPv6AcceptRA]
+Token=static:{{ ipam6.networks.coregonus_dn42.hosts.danneri }}