diff options
Diffstat (limited to 'roles/installer/debian/iso/templates')
-rw-r--r-- | roles/installer/debian/iso/templates/grub.cfg.j2 | 20 | ||||
-rw-r--r-- | roles/installer/debian/iso/templates/isolinux.cfg.j2 | 15 |
2 files changed, 35 insertions, 0 deletions
diff --git a/roles/installer/debian/iso/templates/grub.cfg.j2 b/roles/installer/debian/iso/templates/grub.cfg.j2 new file mode 100644 index 00000000..52b4bf10 --- /dev/null +++ b/roles/installer/debian/iso/templates/grub.cfg.j2 @@ -0,0 +1,20 @@ +if loadfont $prefix/font.pf2 ; then + set gfxmode=800x600 + set gfxpayload=keep + insmod efi_gop + insmod efi_uga + insmod video_bochs + insmod video_cirrus + insmod gfxterm + terminal_output gfxterm +fi + +set menu_color_normal=white/black +set menu_color_highlight=black/light-gray +set timeout=10 +set default=0 + +menuentry "automated installer for {{ install_hostname }}" { + linux /linux --- install {{ (hostvars[install_hostname].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 new file mode 100644 index 00000000..34d42aa2 --- /dev/null +++ b/roles/installer/debian/iso/templates/isolinux.cfg.j2 @@ -0,0 +1,15 @@ +DEFAULT {{ install_hostname }} +TIMEOUT 100 +PROMPT 1 +SAY ***************************************** +SAY ** +SAY ** Distro: {{ install_distro }} +SAY ** Codename: {{ install_codename }} +SAY ** +SAY ** will be booting automated installer for {{ install_hostname }} in 10s ... +SAY ** + +LABEL {{ install_hostname }} + KERNEL linux + INITRD initrd.gz + APPEND install {{ (hostvars[install_hostname].install_cooked.kernel_cmdline | default([])) | join(' ') }} |