From 363165003112d3a0b222ec4a89d6951a4d41708b Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Tue, 14 Apr 2009 14:49:49 -0700 Subject: handle default xen kernel --- scripts/vyatta-grub-setup | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup index c7bfbcd0..3510cfbd 100755 --- a/scripts/vyatta-grub-setup +++ b/scripts/vyatta-grub-setup @@ -113,6 +113,11 @@ else fi fi +if [ -n "$xen_kernel_version" ] || [ -n "$union_xen_kernel_version" ]; then + # xen kernel exists. default to the first xen kernel. + default_console=0 +fi + # Check for diagnostic partition residing in first partition of drive # holding the root partition. -- cgit v1.2.3