Skip to content

Commit

Permalink
determine efimgr entry
Browse files Browse the repository at this point in the history
  • Loading branch information
kthare10 committed Sep 13, 2024
1 parent 4b4cdad commit 214d16f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

- name: Extract ONIE boot entry
set_fact:
onie_entry: "{{ boot_entries.stdout_lines | select('search', 'ONIE:') | map('split', ' ') | map('first') | first }}"
onie_entry: "{{ boot_entries.stdout_lines | select('search', 'ONIE:') | map('regex_search', '^Boot([0-9A-F]{4})') | select('string') | first | regex_replace('Boot', '') }}"
when: operation == 'create'

- name: Ensure ONIE boot entry is found
Expand Down

0 comments on commit 214d16f

Please sign in to comment.