Skip to content

Commit

Permalink
Add qubes version to boot menu
Browse files Browse the repository at this point in the history
  • Loading branch information
alimirjamali committed Jul 19, 2024
1 parent c9b25d6 commit aa87982
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions grub/grub.qubes-kernel-vm-support
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ if [ -r /usr/share/qubes/marker-vm ] &&
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX xen_scrub_pages=0"
fi
GRUB_ENABLE_BLSCFG=false
# Add qubes version to boot menu on dom0
if [ -f "/etc/qubes-release" ]; then
GRUB_DISTRIBUTOR="$(sed 's,\(.*\) release \(.*\) (R\(.*\)),\1 (R\3),g' /etc/system-release)"
fi

0 comments on commit aa87982

Please sign in to comment.