summaryrefslogtreecommitdiff
path: root/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-05-29 22:34:32 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-05-29 22:34:32 +0200
commitd3f919c8671073672115969c3a5fbdec90ac85d5 (patch)
tree3245bc3f85fb7a185821417ae9c4b9936f36b739 /roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
parentch-cm4-sensor*: enable SPI-UART controller (diff)
revert some debian/preseed and ubuntu/autoinstall changes because they don't really work
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 %}