add option for fixed DNS server

This commit is contained in:
Pim Kunis 2023-04-17 09:31:30 +02:00
parent 7234433575
commit c5cf385c86
3 changed files with 12 additions and 0 deletions

View file

@ -49,3 +49,9 @@ fs_setup:
mounts:
- ["data.1", "/mnt/data"]
%{ endif }
%{ if fixed_dns != "" }
manage_resolv_conf: true
resolv_conf:
nameservers:
- "${fixed_dns}"
%{ endif }