Tom Brown wrote:

Sorry. You could have also overridden the kernel options in koan itself:

    * koan ... --kopts='ip=10.xxx.xxx.19 netmask=255.255.254.0
      gateway=10.xxx.xxx.253 dns=10.xxx.xxx.117'

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.

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'.



OK to confirm in my own mind ;)

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?
No. You need to do specify the kopts variables on either the cobbler end or the koan end.

   * cobbler ... --kopts='<kernel args>'

or

   * koan ... --kopts='<kernel args>'

FYI,

-A.

thanks


_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Reply via email to