diff options
Diffstat (limited to 'iw')
-rw-r--r-- | iw/autopart_type.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/iw/autopart_type.py b/iw/autopart_type.py index 1e424ce48..7c20fc1c0 100644 --- a/iw/autopart_type.py +++ b/iw/autopart_type.py @@ -78,6 +78,13 @@ class PartitionTypeWindow(InstallWindow): raise gui.StayOnScreen defboot = self.bootcombo.get_model().get_value(defiter, 1) + + if not defboot in allowdrives: + msg = _("Do you really want to boot from disk which is not used for instalation?") + rc = self.intf.messageWindow(_("Warning"), msg, type="yesno", default="no", custom_icon ="warning") + if not rc: + raise gui.StayOnScreen + self.anaconda.id.bootloader.drivelist.remove(defboot) self.anaconda.id.bootloader.drivelist.insert(0, defboot) |