diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-07-10 17:21:54 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-07-10 17:21:54 +0200 |
commit | 3f1364557e1753ca0e8f2efcec9087516f4e0cbe (patch) | |
tree | c4fa61852fd82d8d9ac18cb851f4292c0051efe9 /roles/preseed/templates/preseed_debian-stretch.cfg.j2 | |
parent | ch-router: fix firewall script (diff) |
added new jumphost
Diffstat (limited to 'roles/preseed/templates/preseed_debian-stretch.cfg.j2')
-rw-r--r-- | roles/preseed/templates/preseed_debian-stretch.cfg.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/preseed/templates/preseed_debian-stretch.cfg.j2 b/roles/preseed/templates/preseed_debian-stretch.cfg.j2 index d99a7626..69a6ca5b 100644 --- a/roles/preseed/templates/preseed_debian-stretch.cfg.j2 +++ b/roles/preseed/templates/preseed_debian-stretch.cfg.j2 @@ -10,7 +10,7 @@ d-i keyboard-configuration/xkb-keymap select us d-i hw-detect/load_firmware boolean false d-i netcfg/choose_interface select {{ install_interface | default(hostvars[hostname].network_cooked.primary.interface) }} -{% if install_dhcp is defined and install_dhcp %} +{% if 'install_dhcp' in hostvars[hostname] and hostvars[hostname].install_dhcp %} d-i netcfg/disable_dhcp boolean false d-i netcfg/disable_autoconfig boolean false {% else %} |