summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-10 23:27:05 +0000
committerMatt Wilson <msw@redhat.com>2000-01-10 23:27:05 +0000
commit7c69982b5aca9e088ed1b34534ddd214fdea8355 (patch)
tree3b6a865da2f1f53e45475eb50e909fac09038de3 /text.py
parent5f82ea6b35342d4ba68ed6ef9bf57ac66b6f741c (diff)
downloadanaconda-7c69982b5aca9e088ed1b34534ddd214fdea8355.tar.gz
anaconda-7c69982b5aca9e088ed1b34534ddd214fdea8355.tar.xz
anaconda-7c69982b5aca9e088ed1b34534ddd214fdea8355.zip
loopback installs work in tui
Diffstat (limited to 'text.py')
-rw-r--r--text.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/text.py b/text.py
index 65df65cc7..702627863 100644
--- a/text.py
+++ b/text.py
@@ -475,6 +475,10 @@ class HostnameWindow:
class BootDiskWindow:
def __call__(self, screen, todo):
+ # we *always* do this for loopback installs
+ if todo.fstab.rootOnLoop():
+ return INSTALL_NOOP
+
buttons = [ _("Yes"), _("No"), _("Back") ]
text = _("A custom boot disk provides a way of booting into your "
"Linux system without depending on the normal bootloader. "
@@ -705,7 +709,7 @@ class ReconfigFinishedWindow:
class BootdiskWindow:
def __call__ (self, screen, todo):
- if not todo.bootdisk:
+ if not todo.needBootdisk():
return INSTALL_NOOP
rc = ButtonChoiceWindow (screen, _("Bootdisk"),