<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Tom Brown wrote:
<blockquote cite="mid:486A27EC.8030506@ng23.net" type="cite"><br>
<blockquote type="cite">Sorry. You could have also overridden the
kernel options in koan itself:
<br>
<br>
* koan ... --kopts='ip=10.xxx.xxx.19 netmask=255.255.254.0
<br>
gateway=10.xxx.xxx.253 dns=10.xxx.xxx.117'
<br>
<br>
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 /only/ 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>
</blockquote>
<br>
<br>
OK to confirm in my own mind ;)
<br>
<br>
You need to add network info to both the cobbler variables and also
ksmeta variables at system configuration time in order to get the
replace-self to work correctly?
<br>
</blockquote>
No. You need to do specify the kopts variables on either the cobbler
end or the koan end.<br>
<ul>
<li>cobbler ... --kopts='<kernel args>'<br>
</li>
</ul>
or<br>
<ul>
<li>koan ... --kopts='<kernel args>'</li>
</ul>
FYI,<br>
<br>
-A.<br>
<blockquote cite="mid:486A27EC.8030506@ng23.net" type="cite"><br>
thanks
<br>
<br>
<br>
_______________________________________________
<br>
et-mgmt-tools mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:et-mgmt-tools@redhat.com">et-mgmt-tools@redhat.com</a>
<br>
<a 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>
</body>
</html>