Use variable for installer version.
This commit is contained in:
parent
e51f6c5e2d
commit
8118b980ec
2 changed files with 6 additions and 5 deletions
|
@ -23,8 +23,8 @@
|
|||
TIMEOUT 100
|
||||
LABEL autoinstall
|
||||
MENU LABEL Debian {{ di_dist }} (amd64) + preseed
|
||||
kernel ::/d-i/n-pkg/images/9/amd64/text/debian-installer/amd64/linux
|
||||
append initrd=::/d-i/n-pkg/images/9/amd64/text/debian-installer/amd64/initrd.gz --- auto=true priority=critical url=tftp://{{ hostname }}
|
||||
kernel ::/d-i/n-pkg/images/{{ di_version }}/amd64/text/debian-installer/amd64/linux
|
||||
append initrd=::/d-i/n-pkg/images/{{ di_version }}/amd64/text/debian-installer/amd64/initrd.gz --- auto=true priority=critical url=tftp://{{ hostname }}
|
||||
notify: "rebuild di-netboot-assistant menu"
|
||||
|
||||
- name: add auto efi boot entry to di-netboot-assistant
|
||||
|
@ -33,7 +33,7 @@
|
|||
insertbefore: EOF
|
||||
block: |
|
||||
menuentry 'Debian stable (amd64) + preseed' {
|
||||
linux /d-i/n-pkg/images/9/amd64/text/debian-installer/amd64/linux --- auto=true priority=critical url=tftp://{{ hostname }}
|
||||
initrd /d-i/n-pkg/images/9/amd64/text/debian-installer/amd64/initrd.gz
|
||||
linux /d-i/n-pkg/images/{{ di_version }}/amd64/text/debian-installer/amd64/linux --- auto=true priority=critical url=tftp://{{ hostname }}
|
||||
initrd /d-i/n-pkg/images/{{ di_version }}/amd64/text/debian-installer/amd64/initrd.gz
|
||||
}
|
||||
notify: "rebuild di-netboot-assistant menu"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue