Browse Source

flag for preseeding hostname

master
parent
commit
5793b700ed
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      defaults/main.yml
  2. +2
    -0
      templates/preseed.cfg.j2

+ 1
- 0
defaults/main.yml View File

@@ -1,3 +1,4 @@
debian_installer_method: false
debian_installer_directory: host_files/{{ inventory_hostname }}/debian-installer
debian_installer_set_hostname: true
debian_installer_nonfree_firmware: false

+ 2
- 0
templates/preseed.cfg.j2 View File

@@ -18,7 +18,9 @@ d-i network-console/password-disabled boolean true
{% endif %}

### Hostname
{% if debian_installer_set_hostname %}
d-i netcfg/hostname string {{inventory_hostname}}
{% endif %}

### Mirror settings
d-i mirror/country string manual


Loading…
Cancel
Save