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 912958 Details for
Bug 1114044
creating kickstart distribution with same label across two different orgs results in ISE during download
[?]
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 fix media_path for custom kickstart distributions
0001-BZ-1114044-patch-for-fix-media_path-for-custom-kicks.patch (text/plain), 1.47 KB, created by
Shannon Hughes
on 2014-06-27 20:39:49 UTC
(
hide
)
Description:
patch to fix media_path for custom kickstart distributions
Filename:
MIME Type:
Creator:
Shannon Hughes
Created:
2014-06-27 20:39:49 UTC
Size:
1.47 KB
patch
obsolete
>From 9abc4e32993a2196f99e6884dc26fe09919ddd1f Mon Sep 17 00:00:00 2001 >From: Shannon Hughes <shughes@redhat.com> >Date: Fri, 27 Jun 2014 16:36:55 -0400 >Subject: [PATCH] BZ: 1114044 patch for fix media_path for custom kickstart distributions > >--- > .../rhn/manager/kickstart/KickstartUrlHelper.java | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) > >diff --git a/java/code/src/com/redhat/rhn/manager/kickstart/KickstartUrlHelper.java b/java/code/src/com/redhat/rhn/manager/kickstart/KickstartUrlHelper.java >index 9ee97ad..c9704ce 100644 >--- a/java/code/src/com/redhat/rhn/manager/kickstart/KickstartUrlHelper.java >+++ b/java/code/src/com/redhat/rhn/manager/kickstart/KickstartUrlHelper.java >@@ -142,6 +142,7 @@ public class KickstartUrlHelper { > */ > public static String getKickstartFileUrlBase(Org org, String host, String protocol) { > StringBuilder urlBase = new StringBuilder(); >+ > urlBase.append(protocol); > if (!protocol.endsWith("://")) { > urlBase.append("://"); >@@ -233,6 +234,14 @@ public class KickstartUrlHelper { > StringBuffer file = new StringBuffer(); > file.append(KS_DIST); > file.append("/"); >+ >+ // check for custom distros >+ if(this.ksTree.getOrgId() != null) { >+ file.append("org/"); >+ file.append(this.ksTree.getOrgId()); >+ file.append("/"); >+ } >+ > file.append(this.ksTree.getLabel()); > return file.toString(); > } >-- >1.7.1 >
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 1114044
: 912958