[et-mgmt-tools] Patches for cobbler and koan (for cobbler 0.9x)
Pablo Iranzo Gómez
Pablo.Iranzo at redhat.com
Sat Apr 19 20:55:25 UTC 2008
Hi
I've seen that Koan puts kickstart inside the initrd.img and
references it as file:ks.cfg, but I don't know the reason for this.
In order to enable auto-registration (based on
pxelinux.cfg/defaults entries), the ks should we changed by this diff on
koan/app.py:
--------------------------------------------------------------------
@@ -782,7 +779,7 @@ class Koan:
if not os.path.exists("/sbin/grubby"):
raise InfoException, "grubby is not installed"
k_args =
self.safe_load(profile_data,'kernel_options',default='')
- k_args = k_args + " ks=file:ks.cfg"
+ k_args = k_args + " ks=" + profile_data["kickstart"]
kickstart = self.safe_load(profile_data,'kickstart')
--------------------------------------------------------------------
So the ks= would be constructed with the cobbler-provided ks
Regards
Pablo
--
Pablo Iranzo Gómez
(http://Alufis35.uv.es/~iranzo/)
(PGPKey Available on http://www.uv.es/~iranzop/PGPKey.pgp)
--
Postulado de Boling sobre la Ley de Murphy:
Si se encuentra bien, no se preocupe. Se le pasará
On Sat, 19 Apr 2008, Pablo Iranzo Gómez wrote:
>
> Hi
> Attached are a patch for cobbler missing the config entry to
> submited isc_set_host_name with default to 0.
>
> The patch for Koan is for being used with newer versions of
> cobbler 0.9x after Michael's patch for "svc/op=ks", as the path for the
> kickstart which koan uses, is "hard-coded".
>
> I think that the behaviour should be cobbler to provided the URL
> for the kickstart, removing dependencies between cobbler and koan, or at
> least, provide version number from cobbler to koan "client", for koan to
> construct URL's for kickstart, kernel, etc appropiately. ¿omments?
>
> Regards
> Pablo
>
>
>
> --
> Pablo Iranzo Gómez
> (http://Alufis35.uv.es/~iranzo/)
> (PGPKey Available on http://www.uv.es/~iranzop/PGPKey.pgp)
> --
> Postulado de Boling sobre la Ley de Murphy:
>
> Si se encuentra bien, no se preocupe. Se le pasará
More information about the et-mgmt-tools
mailing list