Skip to content

Commit

Permalink
grub: xen installer, use kvm flavor
Browse files Browse the repository at this point in the history
don't overwrite eve_flavor as the XEN installer still uses KVM
(and sets it explicitly)

Signed-off-by: Christoph Ostarek <[email protected]>
  • Loading branch information
christoph-zededa authored and eriknordmark committed Oct 24, 2023
1 parent 85ab36b commit a1dc2fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/grub/rootfs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,10 @@ function set_kubevirt_boot {
}

function set_eve_flavor {
cat -s eve_flavor /etc/eve-hv-type
# don't overwrite as the XEN installer still uses KVM (and sets it explicitly)
if [ "$eve_flavor" = "" ] ; then
cat -s eve_flavor /etc/eve-hv-type
fi
}

function set_getty {
Expand Down

0 comments on commit a1dc2fa

Please sign in to comment.