On Thu, 12 Mar 2009 22:02:59 +0100, Jasper Capel <capel(a)stone-it.com>
wrote:
On 03/12/2009 09:48 PM, Gennadiy Nerubayev wrote:
> On Thu, Mar 12, 2009 at 3:21 PM, James Cammarata <jimi(a)sngx.net> wrote:
>
>>> $SNIPPET('post_install_network_config')
>>>
>> It didn't seem to interpret it at all. Any modifications made to the
>> snippet that would cause the render to fail?
>>
>
> Right, that's the problem. As mentioned in the original email, the only
> time
> it renders at all is in profile view. No modifications have been made; I
> did
> a diff against the latest git just in case which confirmed no changes.
>
>
>>> Note: I used the sample kickstart as my own one contains quite a bit
of
>>> internal stuff, but the effect of the problem is the
same. I also just
>>> noticed that the gateway setting gets applied to both interfaces,
which
>> is
>>> rather undesirable.. hmm.
>
>
> That does seem odd... and probably a bug. The gateway should only be
>> applied to the interface that actually shares that network.
>
The gateway should go to /etc/sysconfig/network, and should not be
applied to individual interfaces. I thought I wrote it that way, if not,
that should be fixed.
Calculating on which network said gateway belongs is way too
complicated, so I really think we should stick with
/etc/sysconfig/network.
Gennadiy, could you try removing the static route from the interface, or
try /24 instead of /255.255.255.0?
-Jasper
-Jasper
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
The gateway in this case is being applied to the network config lines in
the kickstart file (the pre script). I beleve the post does send it to
/etc/sysconfig/network
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.