diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-08-16 15:56:42 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-08-16 15:56:42 +0000 |
commit | 45ab5d198b08a474c9722c4825b16e75e78a803c (patch) | |
tree | 43ded031a210dd38f95f1739130d0a19250c86db /installclasses/rhel.py | |
parent | 5cc6200883cd96a9bbfe496ba62d495179c3e7d6 (diff) | |
download | anaconda-45ab5d198b08a474c9722c4825b16e75e78a803c.tar.gz anaconda-45ab5d198b08a474c9722c4825b16e75e78a803c.tar.xz anaconda-45ab5d198b08a474c9722c4825b16e75e78a803c.zip |
2006-08-16 Jeremy Katz <katzj@redhat.com>
* installclasses/rhel.py (InstallClass.handleRegKey): Add a little
bit of logging per jlaska's request
Diffstat (limited to 'installclasses/rhel.py')
-rw-r--r-- | installclasses/rhel.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/installclasses/rhel.py b/installclasses/rhel.py index 4d5845758..b95b784b9 100644 --- a/installclasses/rhel.py +++ b/installclasses/rhel.py @@ -5,6 +5,9 @@ from constants import * import os import iutil +import logging +log = logging.getLogger("anaconda") + # custom installs are easy :-) class InstallClass(BaseInstallClass): # name has underscore used for mnemonics, strip if you dont need it @@ -56,22 +59,27 @@ class InstallClass(BaseInstallClass): # raise NoKeyError # simple and stupid for now... if C is in the key, add Clustering - # if V is in the key, add Virtualization. + # if V is in the key, add Virtualization. etc if productPath == "Server" and rhpl.getArch() in ("i386", "x86_64", "ia64"): if key.find("C") != -1: self.repopaths["cluster"] = "Cluster" + log.info("Adding Cluster option") if key.find("S") != -1: self.repopaths["cs"] = "ClusterStorage" + log.info("Adding ClusterStorage option") if productPath == "Client": if key.find("D") != -1: self.repopaths["desktop"] = "Desktop" + log.info("Adding Desktop option") if key.find("W") != -1: self.repopaths["desktop"] = "Workstation" + log.info("Adding Workstation option") if rhpl.getArch() in ("i386", "x86_64", "ia64"): if key.find("V") != -1: self.repopaths["virt"] = "VT" + log.info("Adding Virtualization option") self.regkey = key |