On Mon, Nov 21, 2016 at 10:32 AM, Scott Moser <smo...@ubuntu.com> wrote:
> based on the findings above/my understanding, this should be equivalent to > your suggested change: > > --- a/cloudinit/cmd/main.py > +++ b/cloudinit/cmd/main.py > @@ -694,4 +694,6 @@ def main(sysv_args=None): > > > if __name__ == '__main__': > + if 'TZ' not in os.environ: > + os.environ[TZ] = ":/etc/localtime" > main(sys.argv) > > > Yes, I think that's reasonable, and makes it portable across init systems. > > python is doing the additional stats' I suspect with the intent of being > more dynamic / allowing an update to /etc/TZ to affect subsequent calls to > datetime() . > > > -- > https://code.launchpad.net/~raharper/cloud-init/+git/ > cloud-init/+merge/307722 > You are the owner of ~raharper/cloud-init:systemd_export_tz. > -- https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/307722 Your team cloud init development team is requested to review the proposed merge of ~raharper/cloud-init:systemd_export_tz into cloud-init:master. _______________________________________________ Mailing list: https://launchpad.net/~cloud-init-dev Post to : cloud-init-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~cloud-init-dev More help : https://help.launchpad.net/ListHelp