From 0110957eac98a5dc0bf5e87ec82310a8c0cfc70a Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 23 Apr 2013 19:38:40 +0000 Subject: Point to MBR by default --- install | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install b/install index 379fd2e..fa5b19e 100755 --- a/install +++ b/install @@ -877,12 +877,10 @@ def configure_grub(): items.append(('Install GRUB to MBR', 'mbr')) items.append(('Install GRUB to a partition only', 'partition')) items.append(('Only update GRUB menu', 'menu')) - if not solaris_partition: # installing on existing pool + if rpool in zpools: # installing on existing pool default = 'menu' - elif solaris_partition.logical: - default = 'mbr' else: - default = 'partition' + default = 'mbr' else: text += 'It looks like root ZFS pool "{rpool}" was not created during this installation, '.format(rpool=rpool) text += 'so installing GRUB is not supported. ' -- cgit v1.2.3