adding commands to installer image

Jeroen van Meeuwen kanarip at kanarip.com
Fri Aug 7 10:14:52 UTC 2009


On 08/07/2009 03:31 AM, John Summerfield wrote:
> Jeroen van Meeuwen wrote:
>
>>
>> Right, and although that seems a but hackerish, in %post, you can
>> ntpdate <server>; touch /path/to/timestamp-file, no? You wouldn't
>> really need to adjust the installer images for that purpose, you just
>> need to make sure the appropriate ntp/ntpdate package is installed.
>
> %post is too late to ensure files are not created "in the future" as the
> installation has been done with the wrong time (maybe) and timezone
> (probably).
>

His reasoning though was not /etc/mail/sendmail.mc was the problem, but 
his own timestamp file.

-- Jeroen




More information about the Kickstart-list mailing list