[PATCH 2/2] Set product names in non-installer mode.
Jan Safranek
jsafrane at redhat.com
Fri Apr 12 12:33:41 UTC 2013
It's used by suggestContainerName and new{LV/VG/MDRAID} to create default
names for MD RAIDs and volume groups etc. and having shortProductName=''
makes the default volume group name '' too -> errors.
In installer mode, these values are set by enable_installer_mode().
Fixes bug #922832.
---
blivet/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/blivet/__init__.py b/blivet/__init__.py
index e911d8c..fdfce16 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -28,8 +28,8 @@ __version__ = '0.10'
##
isys = None
ROOT_PATH = '/'
-shortProductName = ''
-productName = ''
+shortProductName = 'blivet'
+productName = 'blivet'
bootLoaderError = Exception
ERROR_RAISE = 0
More information about the anaconda-patches
mailing list