[Spacewalk-list] systems not registered by default?
jason at monsterjam.org
jason at monsterjam.org
Fri Sep 17 18:09:17 UTC 2010
On Wed, Sep 15, 2010 at 07:59:43AM +0800, Colin Coe wrote:
> Mike
>
> Yes, clients can access RPMs before activation/registration but not
> trivially. Here's a snippet from the post script from a kickstart:
> ---
> mkdir -p /tmp/rhn_rpms/optional
> cd /tmp/rhn_rpms/optional
> wget -P /tmp/rhn_rpms/optional
> http://127.0.0.1/download/package/914a8ce4e6f7676172d0a4a7f676c27ec9a2a671/0/1/574/libxml2-python-2.6.26-2.1.2.8.x86_64.rpm
> http://127.0.0.1/download/package/820777256524475e88b262c612dbac16af14ccc4/0/1/9831/rhnlib-2.5.26-1.el5.noarch.rpm
> http://127.0.0.1/download/package/3fd11ca62e5c2445fb825be90c6d180b6ff7a258/0/1/1433/pyOpenSSL-0.6-1.p24.7.2.2.x86_64.rpm
> rpm -Uvh --replacepkgs --replacefiles
> /tmp/rhn_rpms/optional/pyOpenSSL* /tmp/rhn_rpms/optional/rhnlib*
> /tmp/rhn_rpms/optional/libxml2-python*
> ---
>
> Notice the 'wget' followed by the 'rpm'.
I assume that instead of 127.0.0.1, you mean the ip address of the spacewalk server, right?
like I stated before, I couldnt get wget to work with https, we we decided to do the following instead..
curl -O -k
https://redhouse/download/package/8abd60ca2d6cc6a4e8/1284630970455/1/6660/spacewalk-koan-0.2.5-1.fc11.noarch.rpm
for the 4 packages in question, BUT, when they get downloaded, they arent the real packages, they are umm..
well, im not sure what they are..
jason at zim /tmp $ cat spacewalk-koan-0.2.5-1.fc11.noarch.rpm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or
g/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<!-- enclosing head tags in layout_c.jsp -->
<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<title>
Spacewalk
- Sign In
</title>
<link rel="shortcut icon" href="/img/favicon.ico" />
<link rel="stylesheet" href="/css/rhn-base.css" type="text/css" />
<script src="/javascript/prototype-1.6.0.js" type="text/javascript"> </scrip t>
<script src="/javascript/check_all.js" type="text/javascript"> </script>
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="/css/rhn-iecompat.css" />
<![endif]-->
</head>
<body onload="">
<div id="wrap">
<div class="wrap" id="top-wrap">
<!-- header.jsp -->
<div id="header">
<a href="http://spacewalk.redhat.com/" title="Visit http://spacewalk.redha t.com/ for more
information"><img src="/img/logo_vendor.png" alt="Spacewalk proj ect" id="rhLogo" /></a>
<a href="/" title="Spacewalk homepage">
<img src="/img/logo_product.png" alt="Spacewalk" id="rhnLogo" />
</a>
</div>
<div id="navWrap">
<div id="mainNavWrap">
<ul id="mainNav"><li id="mainFirst-active"><a href="/" class="mainFirstLin k">Sign In</a></li>
<li id="mainLast"><a href="/help/about.pxt" class="mainLastLink">About</a></li>
</ul>
</div> <!-- close div mainNavWrap -->
</div> <!-- close div navWrap -->
<div id="bar">
<div id="systembar">
<div id="systembarinner">
<div>
</div>
</div>
</div>
</div> <!-- end div bar -->
<!-- end header.jsp -->
</div>
<div class="wrap" id="bottom-wrap">
<div id="content">
<!-- MAIN table -->
<table width="100%" cellspacing="0">
<tr>
<td class="sidebar">
<!-- left nav -->
<div id="sidenav">
</div>
<!-- TODO make this more generic -->
</td>
<td class="page-content">
<html:xhtml/>
<h1><img src="/img/rhn-icon-warning.gif"/>File Download Failed</h1>
<p>The file you requested could not be downloaded, likely due to one of the foll owing reasons:</p>
<ol>
<li>The url has expired.</li>
<li>The url has been modified.</li>
<li>The Spacewalk server does not have read permissions on the specified f ile.</li>
</ol>
<p>Please revisit the page you recieved this url from to recieve a new one.</p>
</td>
</tr>
</table>
<!-- END MAIN table -->
<div id="footer">
Copyright © 2002-10 Red Hat, Inc. All rights reserved.
<a href="https://www.redhat.com/legal/privacy_statement.html">Privacy statem ent</a>
: <a href="http://www.redhat.com/legal/legal_statement.html">Legal statement </a>
: <a href="http://www.redhat.com/">redhat.com</a>
<div style="color: black">Spacewalk release <a href="/rhn/help/release-not
es/satellite/index.jsp">1.0</a></div>
<p>
</p>
</div>
<!-- Javascript -->
<script src="/javascript/check_all.js" type="text/javascript"></script>
</div><!-- end content -->
</div><!-- end bottom-wrap -->
</div><!-- end wrap -->
</body>
</html>
jason at zim /tmp $
regards,
Jason
More information about the Spacewalk-list
mailing list