summaryrefslogtreecommitdiff
path: root/roles/installer/debian/iso/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-11-21 04:44:34 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-11-21 04:44:34 +0100
commit48d0df39753037b6688c55a372254ef9ecae5631 (patch)
treeed7c92eac51186d1284c2fe5005b7efa7d3411ae /roles/installer/debian/iso/templates
parentuse delegation for vm/guest install and define (diff)
don't use install_hostname variable in roles
Diffstat (limited to 'roles/installer/debian/iso/templates')
-rw-r--r--roles/installer/debian/iso/templates/grub.cfg.j22
-rw-r--r--roles/installer/debian/iso/templates/isolinux.cfg.j26
2 files changed, 4 insertions, 4 deletions
diff --git a/roles/installer/debian/iso/templates/grub.cfg.j2 b/roles/installer/debian/iso/templates/grub.cfg.j2
index d13ca96d..12b8837b 100644
--- a/roles/installer/debian/iso/templates/grub.cfg.j2
+++ b/roles/installer/debian/iso/templates/grub.cfg.j2
@@ -14,7 +14,7 @@ set menu_color_highlight=black/light-gray
set timeout=10
set default=0
-menuentry "automated installer for {{ install_hostname }}" {
+menuentry "automated installer for {{ inventory_hostname }}" {
linux /linux --- auto {{ (install_cooked.kernel_cmdline | default([])) | join(' ') }}
initrd /initrd.gz
}
diff --git a/roles/installer/debian/iso/templates/isolinux.cfg.j2 b/roles/installer/debian/iso/templates/isolinux.cfg.j2
index 0fb43c25..1a758bda 100644
--- a/roles/installer/debian/iso/templates/isolinux.cfg.j2
+++ b/roles/installer/debian/iso/templates/isolinux.cfg.j2
@@ -1,4 +1,4 @@
-DEFAULT {{ install_hostname }}
+DEFAULT {{ inventory_hostname }}
TIMEOUT 100
PROMPT 1
SAY *****************************************
@@ -6,10 +6,10 @@ SAY **
SAY ** Distro: {{ install_distro }}
SAY ** Codename: {{ install_codename }}
SAY **
-SAY ** will be booting automated installer for {{ install_hostname }} in 10s ...
+SAY ** will be booting automated installer for {{ inventory_hostname }} in 10s ...
SAY **
-LABEL {{ install_hostname }}
+LABEL {{ inventory_hostname }}
KERNEL linux
INITRD initrd.gz
APPEND auto fb=false {{ (install_cooked.kernel_cmdline | default([])) | join(' ') }}