The timezone files for the diskless image come from within the rootimg
directory, not /usr/share/zoneinfo on the management node.

For your situation below, I would expect that the correct file is:
/install/netboot/centos7.6/x86_64/compute/rootimg/usr/share/zoneinfo/America/Sao_Paulo

Check to see if this checksum matches:
md5sum /install/netboot/centos7.6/x86_64/compute/
rootimg/usr/share/zoneinfo/America/Sao_Paulo



From:   "Vinícius Ferrão via xCAT-user"
            <[email protected]>
To:     "[email protected]"
            <[email protected]>
Cc:     "Vinícius Ferrão" <[email protected]>
Date:   12/13/2019 02:31 PM
Subject:        [EXTERNAL] [xcat-user] Timezone settings: how it works?



Hello,

I’m with an issue with timezone settings of xCAT.

I do have the configuration in place on xCAT:
[root@headnode etc]# lsdef -t site clustersite | grep timezone
    timezone=America/Sao_Paulo

But when I run packimage it gets a timezone file from a place that I don’t
know which is.

Here’s the md5 of /etc/localtime inside the image:
md5sum /install/netboot/centos7.6/x86_64/compute/rootimg/etc/localtime
346a7b10fbc17af944896bad4d093568

It should be this one:
md5sum /etc/localtime
339ff8dbd88e39f59b2fd4ee57b1fdb1  /etc/localtime

I even tried search for this specific md5 on /usr/share/zoneinfo but I was
unable to find it:
find . -type f -exec md5sum {} + | grep 346a7b10fbc17af944896bad4d093568

So the question is, from where xCAT gets the zone info when running
packimage?

Thanks,


_______________________________________________
xCAT-user mailing list
[email protected]
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=95pZYYPXXV-5mn9YO7FX6q2JdbPYeCR6fMnFTgqZ_M8&m=mz0ZfcfbWmFbjqRybKLAobvz8CDP0lt2s3Tv-Yfgg3k&s=Pn0ROvmesCsHa6zxgW8I7g_py5x8cWoRCBfSyErsAOc&e=




_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to