summaryrefslogtreecommitdiff
path: root/roles/installer/debian
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-07-01 20:24:50 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-07-01 20:24:50 +0200
commit833c613e4083384e9395e7ce4ec910b09cf1e2fe (patch)
treeb27d2691903db5b52ba31adbdcc4f30975c4cb38 /roles/installer/debian
parentmake new ubuntu-installer selectable by (usb|iso)-install.yml playbooks (diff)
cosmetic changes
Diffstat (limited to 'roles/installer/debian')
-rw-r--r--roles/installer/debian/usb/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/installer/debian/usb/tasks/main.yml b/roles/installer/debian/usb/tasks/main.yml
index acc003a2..62bfced7 100644
--- a/roles/installer/debian/usb/tasks/main.yml
+++ b/roles/installer/debian/usb/tasks/main.yml
@@ -109,12 +109,12 @@
$ sudo syslinux -i /dev/CHANGEME1 -d bios
$ sudo fdisk /dev/CHANGEME
[Here, make sure partition 1 is marked bootable.]
- $ cp /usr/lib/syslinux/modules/bios/* {{ usb_install_path }}/bios/
+ $ cp /usr/lib/syslinux/modules/bios/* {{ (usb_install_path, 'bios/') | path_join }}
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
+ $ cp /usr/lib/syslinux/modules/efi64/* {{ (usb_install_path, 'EFI/boot/') | path_join }}
+ $ cp /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi {{ (usb_install_path, 'EFI/boot/bootx64.efi') | path_join }}
This will NOT be done automatically.