Page MenuHomePhabricator

Set time in vagrant
Closed, ResolvedPublic


Playing with stretch-migration.... I noticed the VM is on PST. The host is not, this was confusing :)

Related Objects

Event Timeline

$ vagrant ssh -- date
Thu Jan  4 21:06:02 GMT 2018
$ vagrant ssh -- ls -l /etc/localtime
lrwxrwxrwx 1 root root 24 Jan  4 21:07 /etc/localtime -> /usr/share/zoneinfo//UTC

And after nuking everything (including the clone of the vagrant repo) it's still on PST

I bet this is a base image difference! We should set it in puppet just to make it consistent everywhere. Maybe nicest to do it using a hiera variable too so that if somebody really hates having their timestamps in UTC that they can change it.

Change 402176 had a related patch set uploaded (by BryanDavis; owner: Bryan Davis):
[mediawiki/vagrant@stretch-migration] Set timezone

Change 402176 merged by jenkins-bot:
[mediawiki/vagrant@stretch-migration] Set timezone

bd808 claimed this task.