summaryrefslogtreecommitdiff
path: root/roles/installer/debian/iso/templates
diff options
context:
space:
mode:
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(' ') }}