Re: adding commands to installer image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 6, 2009 at 3:08 AM, Jeroen van Meeuwen<kanarip@xxxxxxxxxxx> wrote:
> On 08/05/2009 11:42 PM, Larry Brigman wrote:
>>
>> On Wed, Aug 5, 2009 at 7:40 AM, Jeroen van Meeuwen<kanarip@xxxxxxxxxxx>
>>  wrote:
>>>
>>> On Wed, 5 Aug 2009 07:34:42 -0700, Larry Brigman<larry.brigman@xxxxxxxxx>
>>> wrote:
>>>>
>>>> Because the timestamp file in the future prevents new configurations
>>>> from
>>>> being
>>>> recognized as up to date.  If I had a way to force the time during the
>>>> %pre script to
>>>> UTC, this would not be an issue.
>>>>
>>> You mean your configuration management utility (if any) compares by
>>> timestamp rather then, say, md5sum? You're not using
>>> Puppet/CFEngine/BCFG?
>>>
>>
>> Not using Puppet/CFEngine/BCFG.
>> The timestamp file is created during the post install of the rpm.
>> This is used as a safety
>> check to insure that the configuration tool is run after install to
>> have an up to date configuration
>> with the existing config management utility - sanity check of the config
>> file.
>>
>
> 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.
>

That is a better and easier solution.
Thanks for the idea.

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux