[Spacewalk-list] PRE Section doesn't work at all KVM Guest

Konstantin Raskoshnyi konrasko at gmail.com
Tue Apr 12 01:17:51 UTC 2016


There's no file in tmp directory. In fact I can not create any files at all
during the pre.
Tried nochroot too.
In post everything works fine

On Mon, Apr 11, 2016 at 5:49 PM, Lachlan Musicman <datakid at gmail.com> wrote:

> 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 <datakid at gmail.com> 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 <konrasko at gmail.com>
>> 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 <colin.coe at gmail.com> 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 <
>>>> konrasko at gmail.com> 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
>>>>> Spacewalk-list at redhat.com
>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Spacewalk-list mailing list
>>>> Spacewalk-list at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>
>>>
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>
>>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160411/0b3f9417/attachment.htm>


More information about the Spacewalk-list mailing list