summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-06-30 21:52:28 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-06-30 21:52:28 +0200
commit9936c3c9053c470bfa09de300ba46359906c84b3 (patch)
tree3ff783a9d45c623263ff466459e34cd95e4e5612
parentfix some issues with ubuntu autoinstall and add preliminary ubuntu/usb instal... (diff)
fix reusability of subiquity based usb installer
-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 6ba4e6be..a9a1761c 100644
--- a/roles/installer/ubuntu/usb/templates/grub.cfg.j2
+++ b/roles/installer/ubuntu/usb/templates/grub.cfg.j2
@@ -13,6 +13,6 @@ set default=0
menuentry "automated installer for {{ inventory_hostname }}" {
set gfxpayload=keep
- linux /casper/vmlinuz quiet autoinstall "ds=nocloud;s=/cdrom/autoinstall/" {{ (install_cooked.kernel_cmdline | default([])) | join(' ') }}
+ linux /casper/vmlinuz quiet nopersistent autoinstall "ds=nocloud;s=/cdrom/autoinstall/" {{ (install_cooked.kernel_cmdline | default([])) | join(' ') }}
initrd /casper/initrd
}
diff --git a/roles/installer/ubuntu/usb/templates/isolinux.cfg.j2 b/roles/installer/ubuntu/usb/templates/isolinux.cfg.j2
index 68269dfc..4c84dd45 100644
--- a/roles/installer/ubuntu/usb/templates/isolinux.cfg.j2
+++ b/roles/installer/ubuntu/usb/templates/isolinux.cfg.j2
@@ -12,4 +12,4 @@ SAY **
LABEL {{ inventory_hostname }}
KERNEL /casper/vmlinuz
INITRD /casper/initrd
- APPEND quiet autoinstall ds=nocloud;s=/cdrom/autoinstall/ {{ (install_cooked.kernel_cmdline | default([])) | join(' ') }}
+ APPEND quiet nopersistent autoinstall ds=nocloud;s=/cdrom/autoinstall/ {{ (install_cooked.kernel_cmdline | default([])) | join(' ') }}