<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
On 2010-03-05 11:18, James Hogarth wrote:
<blockquote
 cite="mid:5f797c2c1003050218u73aeea8dp2c52841f5033396b@mail.gmail.com"
 type="cite">
  <pre wrap="">On 5 March 2010 09:06, Jonas Bygdén <a class="moz-txt-link-rfc2396E" href="mailto:jonas.bygden@trioptima.com"><jonas.bygden@trioptima.com></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,

When kickstarting a system it gets automatically registered by the use of
the cobbler snippet 'redhat_register'. Is there a way to disable this
completely?

The main reason for my question is that cobbler adds a default key to all
systems using the "Red Hat Management Key" variable, and we don't want that.
I've tried to edit the cobbler profiles to remove that auto-generated key,
but I don't seem to be able to do that.

We're adding our own activation keys in a post script and re-registering the
system, which causes the system to be registered twice. Once with the by
cobbler auto generated key, and once with our keys.

/Jonas

    </pre>
  </blockquote>
  <pre wrap="">
Within the activation key section of the kickstart have you tried not
associating the kickstart with any activation keys? Also within the
advanced options of the kickstart do you have key set to --skip ?

James
  </pre>
</blockquote>
<div class="moz-signature"><font color="#000000">I do have the key set
to '--skip' in advanced options, and if I remove all activation keys
from the list of our keys then I still get an auto generated key which
will cause the 'redhat_register' cobbler snippet to be included and the
system registered with a key that I don't want.<br>
<br>
<small><font face="Courier New, Courier, monospace">root # cobbler
profile report --name=centos5-x86_64-xen:1:SpacewalkPublicCert<br>
Name                           :
centos5-x86_64-xen:1:SpacewalkPublicCert<br>
Comment                        : <br>
DHCP Tag                       : default<br>
Distribution                   :
CentOs-5.3-x86_64-xen:xen:1:Spacewalk-Public-Cert<br>
Enable PXE Menu?               : 1<br>
Kernel Options                 : {}<br>
Kernel Options (Post Install)  : {}<br>
Kickstart                      :
/var/lib/rhn/kickstarts/wizard/centos53-x86_64-xen--1.cfg<br>
Kickstart Metadata             : {'org': 1}<br>
Management Classes             : []<br>
Name Servers                   : []<br>
Name Servers Search Path       : []<br>
Owners                         : ['admin']<br>
Parent Profile                 : <br>
Red Hat Management Key         : 1-e864f76fe07e3fef07dbf9457fb6bdf2<br>
Red Hat Management Server      : <<inherit>><br>
Repos                          : []<br>
Server Override                : <<inherit>><br>
Template Files                 : {}<br>
Virt Auto Boot                 : 1<br>
Virt Bridge                    : xenbr0<br>
Virt CPUs                      : 1<br>
Virt File Size(GB)             : 3<br>
Virt Path                      : <br>
Virt RAM (MB)                  : 512<br>
Virt Type                      : xenpv<br>
<br>
root # </font></small><br>
<br>
/Jonas</font><br>
<br>
</div>
</body>
</html>