summaryrefslogtreecommitdiff
path: root/roles/installer/ubuntu/usb/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/installer/ubuntu/usb/templates')
-rw-r--r--roles/installer/ubuntu/usb/templates/grub.cfg.j22
-rw-r--r--roles/installer/ubuntu/usb/templates/isolinux.cfg.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/installer/ubuntu/usb/templates/grub.cfg.j2 b/roles/installer/ubuntu/usb/templates/grub.cfg.j2
index adeb5672..8282e95c 100644
--- a/roles/installer/ubuntu/usb/templates/grub.cfg.j2
+++ b/roles/installer/ubuntu/usb/templates/grub.cfg.j2
@@ -16,7 +16,7 @@ set default=0
menuentry "automated installer for {{ host }}" {
set gfxpayload=keep
- linux /casper/vmlinuz quiet nopersistent autoinstall "ds=nocloud;s=/cdrom/autoinstall/{{ host }}/" {{ (hostvars[host].install_cooked.kernel_cmdline | default([])) | join(' ') }}
+ linux /casper/vmlinuz quiet nopersistent autoinstall "ds=nocloud;s=/cdrom/autoinstall/{{ host }}/" {{ (hostvars[host].install.kernel_cmdline | default([])) | join(' ') }}
initrd /casper/initrd
}
{% endfor %}
diff --git a/roles/installer/ubuntu/usb/templates/isolinux.cfg.j2 b/roles/installer/ubuntu/usb/templates/isolinux.cfg.j2
index 03d581d4..12e7179d 100644
--- a/roles/installer/ubuntu/usb/templates/isolinux.cfg.j2
+++ b/roles/installer/ubuntu/usb/templates/isolinux.cfg.j2
@@ -21,5 +21,5 @@ LABEL {{ host }}
MENU LABEL automated installer for {{ host }}
KERNEL /casper/vmlinuz
INITRD /casper/initrd
- APPEND quiet nopersistent autoinstall ds=nocloud;s=/cdrom/autoinstall/{{ host }}/ {{ (hostvars[host].install_cooked.kernel_cmdline | default([])) | join(' ') }}
+ APPEND quiet nopersistent autoinstall ds=nocloud;s=/cdrom/autoinstall/{{ host }}/ {{ (hostvars[host].install.kernel_cmdline | default([])) | join(' ') }}
{% endfor %}