summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-04-23 19:38:40 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-04-23 19:38:40 +0000
commit0110957eac98a5dc0bf5e87ec82310a8c0cfc70a (patch)
tree71805fe7774e6f3b64e99cba5362a53bb8bd64f6
parent3a091956fe8ae2e7fe43d03cd3a0590b34ed6db1 (diff)
downloadlive-0110957eac98a5dc0bf5e87ec82310a8c0cfc70a.tar.gz
Point to MBR by default
-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. '