From 18cfada22a9acd031d3b77ba6132d700b611eedb Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 11 Jul 2020 04:21:12 +0200 Subject: usb installer: add multi-host boot stick support --- common/usb-install.yml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'common/usb-install.yml') diff --git a/common/usb-install.yml b/common/usb-install.yml index 1776f75b..f24e0fb8 100644 --- a/common/usb-install.yml +++ b/common/usb-install.yml @@ -14,28 +14,6 @@ installer_base_path: "{{ global_cache_dir }}/debian-installer" installer_keyrings_path: "{{ global_files_dir }}/common/keyrings" - post_tasks: - - name: Make the USB disk bootable - pause: - seconds: 0 - prompt: | - You should make sure the USB disk is bootable and - has syslinux installed. - - $ sudo apt install mbr syslinux - $ sudo install-mbr /dev/CHANGEME - $ sudo syslinux -i /dev/CHANGEME1 - $ sudo fdisk /dev/CHANGEME - [Here, make sure partition 1 is marked bootable.] - - for UEFI these steps need to be done - - $ sudo apt install syslinux-efi - $ cp /usr/lib/syslinux/modules/efi64/* {{ usb_install_path }}/EFI/boot/ - $ cp /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi {{ usb_install_path }}/EFI/boot/bootx64.efi - - This will NOT be done automatically. - - name: wait for new machine to start up hosts: "{{ install_hostname }}" gather_facts: no @@ -53,7 +31,7 @@ - name: clear all gathered facts meta: clear_facts - - name: wait for vm to start up + - name: wait for host to start up wait_for_connection: delay: 5 timeout: 120 -- cgit v1.2.3