Sorry. I've got something similar - I added

%include /tmp/pre-hostname

to the Custom Options section of Kickstart Details -> Advanced Options.

Have you done that?

(in yr case it's %include /tmp/pre_install_network_config obv)

cheers
L.

------
The most dangerous phrase in the language is, "We've always done it this
way."

- Grace Hopper

On 12 April 2016 at 10:47, Lachlan Musicman <[email protected]> wrote:

> I have something similar set up, and I've added
>
>
> ------
> The most dangerous phrase in the language is, "We've always done it this
> way."
>
> - Grace Hopper
>
> On 12 April 2016 at 10:32, Konstantin Raskoshnyi <[email protected]>
> wrote:
>
>> After installation there's no file pre_install_network_config in tmp
>> directory..
>>
>> May be nochroot can help?
>>
>> On Mon, Apr 11, 2016 at 5:13 PM, Colin Coe <[email protected]> wrote:
>>
>>> Are you including that file?
>>>
>>> The following will need to be in your kickstart...
>>> %include /tmp/pre_install_network_config
>>>
>>> On Tue, Apr 12, 2016 at 8:03 AM, Konstantin Raskoshnyi <
>>> [email protected]> wrote:
>>>
>>>> Stuck on this problem - I wanted to set up hostname for KVM machine on
>>>> pre,
>>>>
>>>> ok - I spent 3 days, but in fact ks ignore all pre sections...
>>>>
>>>> also I found that Spacewalk trying to set hostname by itself, here the
>>>> text from anakonda.cfg
>>>>
>>>> # Start of code to match cobbler system interfaces to physical
>>>> interfaces by their mac addresses
>>>> #  Start eth0
>>>> # Configuring eth0 (00:16:3e:53:0e:0d)
>>>> if mac_exists 00:16:3e:53:0e:0d
>>>> then
>>>>   get_ifname 00:16:3e:53:0e:0d
>>>>   echo "network --device=$IFNAME --bootproto=dhcp
>>>> --hostname=virttest001" >> /tmp/pre_install_network_config
>>>> fi
>>>>
>>>> But no logs, no errors, no other stuff. Also no my pre scripts in /tmp
>>>> directory
>>>>
>>>>
>>>> Any thoughts?
>>>>
>>>> _______________________________________________
>>>> Spacewalk-list mailing list
>>>> [email protected]
>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>
>>>
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> [email protected]
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> [email protected]
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
>
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to