Skip to content

Commit

Permalink
Merge pull request #1498 from netbootxyz/zfsbootmenu
Browse files Browse the repository at this point in the history
Add ZFSBootMenu and a check if initrd is present
  • Loading branch information
antonym authored Aug 3, 2024
2 parents ad4cf9a + 1d828cb commit ee7e86b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/netbootxyz/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,11 @@ utilitiesefi:
enabled: true
name: System Rescue CD
type: ipxemenu
zfsbootmenu:
enabled: true
kernel: ${live_endpoint}{{ endpoints.zfsbootmenu.path }}zfsbootmenu-recovery-x86_64.efi
name: ZFSBootMenu
type: direct
utilitiespcbios32:
clonezilla:
enabled: true
Expand Down
2 changes: 2 additions & 0 deletions roles/netbootxyz/templates/menu/utils-efi.ipxe.j2
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ goto utils_exit
:{{ key }}
imgfree
kernel {{ value.kernel }}
{% if value.initrd is defined and value.initrd %}
initrd {{ value.initrd }}
{% endif %}
boot
goto utils_exit
{% endif %}
Expand Down

0 comments on commit ee7e86b

Please sign in to comment.