mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-03 12:54:54 +07:00
Extract grubx64.efi from boot partition image
This commit is contained in:
parent
d616abe807
commit
6fae2f5413
@ -11,6 +11,7 @@
|
||||
- "{{ role_path }}/build"
|
||||
- "{{ role_path }}/files/images"
|
||||
- "{{ role_path }}/build/mnt"
|
||||
- "{{ role_path }}/build/mnt/EFI/BOOT"
|
||||
|
||||
- name: Download ISO
|
||||
get_url:
|
||||
@ -25,6 +26,13 @@
|
||||
cmd: "xorriso -osirrox on -indev {{ iso.dest }} -extract / {{ role_path }}/build/mnt"
|
||||
creates: "{{ role_path }}/build/mnt/.treeinfo"
|
||||
|
||||
- name: Extract bootloader
|
||||
iso_extract:
|
||||
image: "{{ role_path }}/build/mnt/images/efiboot.img"
|
||||
dest: "{{ role_path }}/build/mnt/EFI/BOOT"
|
||||
files:
|
||||
- EFI/fedora/grubx64.efi
|
||||
|
||||
- name: Copy configs
|
||||
copy:
|
||||
src: "{{ role_path }}/templates/"
|
||||
|
Loading…
Reference in New Issue
Block a user