<!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">
Adam Rosenwald wrote:
<blockquote cite="mid:486A1D64.8070305@gmail.com" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Tom Brown wrote:
<blockquote cite="mid:486A19E0.8010103@ng23.net" type="cite"><br>
<blockquote type="cite">OK. Something is definitely missing here.
Notice how
(<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.redhat.com/magazine/024oct06/features/kickstart/">http://www.redhat.com/magazine/024oct06/features/kickstart/</a>)
GRUB
contains options for setting the IP address, netmask, and gateway for
the system you intend to boot. These arguments are /*not*/ set in
/your/ grub configuration. As to why they are not, either you didn't
specify them during your cobbler system provisioning OR there is some
kind of a bug in koan's 'reprovision' logic. Likely the former.
Please double check that you specified <br>
<br>
cobbler .... --ip=X --subnet=Y --gateway=Z ... <br>
<br>
in your provision command. <br>
<br>
</blockquote>
<br>
# cobbler system report --name=xxxxxx <br>
system : xxxxxx <br>
profile : RHEL4-u5-i386-prd <br>
kernel options : {} <br>
kickstart : <<inherit>> <br>
ks metadata : {'nameserver': '10.xxx.xxx.117'} <br>
netboot enabled? : True <br>
owners : ['admin'] <br>
server : <<inherit>> <br>
virt cpus : <<inherit>> <br>
virt file size : <<inherit>> <br>
virt path : <<inherit>> <br>
virt ram : <<inherit>> <br>
virt type : <<inherit>> <br>
interface : intf0 <br>
mac address : 00:13:72:69:95:7E <br>
ip address : 10.xxx.xxx.19 <br>
hostname : xxxxxx <br>
gateway : 10.xxx.xxx.253 <br>
subnet : 255.255.254.0 <br>
virt bridge : <br>
dhcp tag : <br>
<br>
that seems fine to me? <br>
<br>
and the koan version on the client <br>
<br>
# rpm -qa | grep koan <br>
koan-1.0.0-1.el4 <br>
<br>
thanks for any further info <br>
</blockquote>
OK... good. If you could try to do so, please reprovision your system
with the following amendment:<br>
<ul>
<li>cobbler ... --kopts='ip=10.xxx.xxx.19 netmask=255.255.254.0
gateway=10.xxx.xxx.253 dns=10.xxx.xxx.117' ...</li>
</ul>
Resync and see if the new grub file installed after koaning looks the
part.<br>
<br>
-A.<br>
</blockquote>
Sorry. You could have also overridden the kernel options in koan
itself:<br>
<ul>
<li>koan ... --kopts='ip=10.xxx.xxx.19 netmask=255.255.254.0
gateway=10.xxx.xxx.253 dns=10.xxx.xxx.117'</li>
</ul>
Basically koan doesn't make use of the cobbler's own --ip, --gateway,
--subnet variables when interfacing with grubby to create the grub
config file; rather it <i>only</i> makes use of --kopts. This is
rather nonintuitive, and it's difficult for me to think of a situation
where one is attempting to reprovision (via koan --replace-self) a
system, yet not want import those cobbler dictionary values (ip,
subnet, etc.) into grub kernel arguments.<br>
<br>
Then, there is the problem of precedence: do --ip, --subnet, etc.
override --kopts='ip=... netmask=...' if both are declared? Or vice
versa? This is a policy decision which Michael shouldn't have to worry
about enforcing. Rather, it may be more relevant to update the cobbler
wiki under 'koan replace-self procedure'.<br>
<br>
-A.<br>
<blockquote cite="mid:486A1D64.8070305@gmail.com" type="cite">
<blockquote cite="mid:486A19E0.8010103@ng23.net" type="cite"><br>
<br>
_______________________________________________ <br>
et-mgmt-tools mailing list <br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:et-mgmt-tools@redhat.com">et-mgmt-tools@redhat.com</a> <br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://www.redhat.com/mailman/listinfo/et-mgmt-tools">https://www.redhat.com/mailman/listinfo/et-mgmt-tools</a>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>