mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +07:00
Use the same grubx64.efi path as the image
This commit is contained in:
parent
6fae2f5413
commit
754c0ac109
@ -11,7 +11,6 @@
|
||||
- "{{ role_path }}/build"
|
||||
- "{{ role_path }}/files/images"
|
||||
- "{{ role_path }}/build/mnt"
|
||||
- "{{ role_path }}/build/mnt/EFI/BOOT"
|
||||
|
||||
- name: Download ISO
|
||||
get_url:
|
||||
@ -29,7 +28,7 @@
|
||||
- name: Extract bootloader
|
||||
iso_extract:
|
||||
image: "{{ role_path }}/build/mnt/images/efiboot.img"
|
||||
dest: "{{ role_path }}/build/mnt/EFI/BOOT"
|
||||
dest: "{{ role_path }}/build/mnt/EFI/fedora"
|
||||
files:
|
||||
- EFI/fedora/grubx64.efi
|
||||
|
||||
|
@ -8,7 +8,7 @@ services:
|
||||
build: ./tftp
|
||||
network_mode: host
|
||||
volumes:
|
||||
- ./mnt/EFI/BOOT/grubx64.efi:/var/lib/tftpboot/grubx64.efi
|
||||
- ./mnt/EFI/fedora/grubx64.efi:/var/lib/tftpboot/grubx64.efi
|
||||
- ./mnt/images/ignition.img:/var/lib/tftpboot/ignition.img
|
||||
- ./mnt/images/pxeboot/initrd.img:/var/lib/tftpboot/initrd.img
|
||||
- ./mnt/images/pxeboot/vmlinuz:/var/lib/tftpboot/vmlinuz
|
||||
|
Loading…
Reference in New Issue
Block a user