summaryrefslogtreecommitdiff
path: root/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2')
-rw-r--r--roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j24
1 files changed, 0 insertions, 4 deletions
diff --git a/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 b/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
index 612ba038..fd78bc4d 100644
--- a/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
+++ b/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
@@ -19,16 +19,12 @@ autoinstall:
{% else %}
addresses:
- {{ network.primary.address }}
-{% if 'gateway' in network %}
routes:
- to: default
via: {{ network.primary.gateway }}
-{% endif %}
{% if (network.nameservers | default([]) | length) > 0 %}
nameservers:
-{% if 'domain' in network %}
search: [ {{ network.domain }} ]
-{% endif %}
addresses: [ {{ network.nameservers | join(', ') }} ]
{% endif %}
{% endif %}