Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 306857 Details for
Bug 448634
Scientific Linux not recognized as a valid OS
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to add support for scientific linux guests
python-virtinst-scientificlinux.patch (text/plain), 1.79 KB, created by
Wart
on 2008-05-28 00:00:28 UTC
(
hide
)
Description:
Patch to add support for scientific linux guests
Filename:
MIME Type:
Creator:
Wart
Created:
2008-05-28 00:00:28 UTC
Size:
1.79 KB
patch
obsolete
>--- DistroManager.py.orig 2008-05-27 16:40:47.000000000 -0700 >+++ DistroManager.py 2008-05-27 16:45:19.000000000 -0700 >@@ -37,6 +37,7 @@ > from OSDistro import FedoraDistro > from OSDistro import RHELDistro > from OSDistro import CentOSDistro >+from OSDistro import SLDistro > from OSDistro import SuseDistro > from OSDistro import DebianDistro > from OSDistro import UbuntuDistro >@@ -60,6 +61,10 @@ > store = FedoraDistro(baseuri, type, scratchdir) > if store.isValidStore(fetcher, progresscb): > return store >+ # Check for Scientific Linux? >+ if fetcher.hasFile("SL.releasenote", progresscb): >+ logging.debug("Detected a Scientific Linux distro") >+ return SLOSDistro(baseuri, type, scratchdir) > # Check for CentOS? > if fetcher.hasFile("centosdocs-man.css", progresscb): > logging.debug("Detected a CentOS distro") >@@ -83,6 +88,8 @@ > stores.append(RHELDistro(baseuri, type, scratchdir)) > if distro == "centos" or distro is None: > stores.append(CentOSDistro(baseuri, type, scratchdir)) >+ if distro == "sl" or distro is None: >+ stores.append(SLDistro(baseuri, type, scratchdir)) > if distro == "suse" or distro is None: > stores.append(SuseDistro(baseuri, type, scratchdir)) > if distro == "debian" or distro is None: >--- OSDistro.py.orig 2008-05-27 16:41:43.000000000 -0700 >+++ OSDistro.py 2008-05-27 16:45:50.000000000 -0700 >@@ -113,6 +113,14 @@ > return True > return False > >+# Scientific Linux distro check >+class SLDistro(RedHatDistro): >+ def isValidStore(self, fetcher, progresscb): >+ if fetcher.hasFile("SL", progresscb): >+ logging.debug("Detected a Scientific Linux distro") >+ return True >+ return False >+ > > > # Suse image store is harder - we fetch the kernel RPM and a helper
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 448634
: 306857 |
331061