summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall6
1 files 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. '