[PATCH 03/11] Only run findExistingInstallations and start iscsi, &c in installer mode.
David Lehman
dlehman at redhat.com
Mon Feb 4 23:32:29 UTC 2013
---
blivet/__init__.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/blivet/__init__.py b/blivet/__init__.py
index 809ede3..9b5bd54 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -396,7 +396,7 @@ class Blivet(object):
if self.ksdata:
self.config.update(self.ksdata)
- if not flags.image_install:
+ if flags.installer_mode and not flags.image_install:
self.iscsi.startup()
self.fcoe.startup()
self.zfcp.startup()
@@ -422,7 +422,8 @@ class Blivet(object):
self.bootloader.stage1_device = None
self.bootloader.stage2_device = None
- self.roots = findExistingInstallations(self.devicetree)
+ if flags.installer_mode:
+ self.roots = findExistingInstallations(self.devicetree)
self.dumpState("initial")
--
1.8.1
More information about the anaconda-patches
mailing list