On 12/14/2014 02:45 PM, Chris Johnson wrote:
> On 12/13/2014 11:59 AM, Chris Johnson wrote:
>>
>>> On 12/01/2014 01:25 PM, Chris Johnson wrote:
>>>> On earlier versions of cobbler there was an if_gateway_<interface>
>>>> and an appropriate switch in cobbler system add for setting it.
>>>> And this did what you'd expect, it put the GATEWAY shell variable
>>>> assignment in the ifcfg_<interface> file.
>>>>
>>>
>>> Have you enabled static network setup in the network interface with
>>> the specific gateway?
>>> Looking at the code, this should be enough.
>
> CJ> I have --bootproto=static in the kickstart if that's what you mean.
>
> No, I mean the static boolean field in the network interface config
> in the system object.
Huh, ok, confused. Isn't that what the --bootproto=static switch in
cobbler system add is supposed to set?
Regarding Cobbler CLI, there is no --bootproto option in cobbler system
add, you are confusing
(1) the kickstart option with (2) the Cobbler system's network interface
option. There is a --static option
in cobbler system add which sets the boolean I mentioned before.
However, it could be changed
after adding the system, that's why I asked you to check its current value.
Regards,
Alan Evangelista