Use the same grubx64.efi path as the image

This commit is contained in:
Khue Doan 2021-06-13 03:27:15 +07:00
parent 6fae2f5413
commit 754c0ac109
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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