summaryrefslogtreecommitdiff
path: root/roles/elevate/media/templates/netplan/lan-only.yaml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/elevate/media/templates/netplan/lan-only.yaml.j2')
-rw-r--r--roles/elevate/media/templates/netplan/lan-only.yaml.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/elevate/media/templates/netplan/lan-only.yaml.j2 b/roles/elevate/media/templates/netplan/lan-only.yaml.j2
index 3bd97cb6..db924c20 100644
--- a/roles/elevate/media/templates/netplan/lan-only.yaml.j2
+++ b/roles/elevate/media/templates/netplan/lan-only.yaml.j2
@@ -2,7 +2,7 @@ network:
version: 2
renderer: networkd
ethernets:
- {{ network.primary.interface }}:
+ {{ network.primary.name }}:
addresses: [ {{ (network.primary.ip + '/' + network.primary.mask) | ipaddr('address/prefix') }} ]
gateway4: {{ network.primary.gateway }}
accept-ra: false