[blivet:master 7/8] Add a flag to control whether a raid array may be run when degraded (#1090009)
mulhern
amulhern at redhat.com
Wed Jun 18 19:05:14 UTC 2014
Generally, this should be allowed, unless doing a normal install, when it
would seem like a foolish risk.
Related: rhbz#1090009
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/flags.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/blivet/flags.py b/blivet/flags.py
index 8932941..d521efa 100644
--- a/blivet/flags.py
+++ b/blivet/flags.py
@@ -63,6 +63,7 @@ class Flags(object):
self.boot_cmdline = {}
self.update_from_boot_cmdline()
+ self.allow_degraded_raid = True
def get_boot_cmdline(self):
buf = open("/proc/cmdline").read().strip()
@@ -100,6 +101,7 @@ class Flags(object):
self.gpt = anaconda_flags.gpt
self.multipath_friendly_names = anaconda_flags.mpathFriendlyNames
+ self.allow_degraded_raid = anaconda_flags.rescue_mode
self.ibft = anaconda_flags.ibft
self.dmraid = anaconda_flags.dmraid
--
1.9.3
More information about the anaconda-patches
mailing list