瀏覽代碼

flag for preseeding hostname

master
父節點
當前提交
5793b700ed
共有 2 個檔案被更改,包括 3 行新增0 行删除
  1. +1
    -0
      defaults/main.yml
  2. +2
    -0
      templates/preseed.cfg.j2

+ 1
- 0
defaults/main.yml 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存