[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cobbler
Subject:    post_install_network_config oddity
From:       mdehaan () redhat ! com (Michael DeHaan)
Date:       2009-04-20 14:11:34
Message-ID: 49EC8296.3000908 () redhat ! com
[Download RAW message or body]

Axel Thimm wrote:
> Hi,
>
> On Tue, Mar 24, 2009 at 07:08:14PM +0100, Jasper Capel wrote:
>   
>> On 03/24/2009 07:01 PM, Michael DeHaan wrote:
>>     
>>> Sounds reasonable, I must have missed the patch earlier.   Everyone else 
>>> think this is ok?
>>>
>>>       
>> /me nods
>>     
>
> it's still not patched into cobbler sources, can you please apply it?
> Here is the patch again:
>
> --- snippets/post_install_network_config.org	  2009-03-27 21:41:21.000000000 +0200
> +++ snippets/post_install_network_config	  2009-04-20 15:39:07.000000000 +0300
> @@ -128,6 +128,9 @@
>                          #set $netmask = "255.255.255.0"
>                      #end if
>  echo "NETMASK=$netmask" >> $devfile
> +if [ "`ipcalc --network $ip $netmask`" = "`ipcalc --network $gateway $netmask`" ]; then
> +  echo "GATEWAY=$gateway" >> $devfile
> +fi
>                  #else
>                      ## Leave the interface unconfigured
>                      ## we don't have enough info for static configuration
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> cobbler mailing list
> cobbler at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

Sending to cobbler-devel list.

see also:  https://fedorahosted.org/cobbler/wiki/PatchProcess, this one 
can't be applied with "git am" and needs to be.

--Michael



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic