Skip to content

Commit

Permalink
Merge pull request #6093 from Yingshun/go_notf
Browse files Browse the repository at this point in the history
guest_os_booting: Skip templateFormat when comparing os xml
  • Loading branch information
chloerh authored Jan 2, 2025
2 parents 0f83e36 + 71e0cb1 commit 8e439f0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def compare_guest_xml(vmxml, os_attrs):
current_os_attrs = os_xml.fetch_attrs()
for key in os_attrs:
if key in current_os_attrs:
if key == "nvram_attrs":
current_os_attrs[key].pop("templateFormat")
if os_attrs[key] != current_os_attrs[key]:
test.fail("Configured os xml value {} doesn't match the"
" entry {} in guest xml".format(os_attrs[key], current_os_attrs[key]))
Expand Down

0 comments on commit 8e439f0

Please sign in to comment.