Last active
October 31, 2016 17:13
-
-
Save collinmutembei/2f1f2fe44cd4d6424ea8283a823643ae to your computer and use it in GitHub Desktop.
How to force vagrant machine to synchronize time with sytstem clock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://goo.gl/NO38hO | |
| # add in Vagrantfile | |
| config.vm.provision :shell, :inline => "sudo rm /etc/localtime && sudo ln -s /usr/share/zoneinfo/Africa/Nairobi /etc/localtime", run: "always" | |
| # replace `Africa/Nairobi` with the timezone you would like to set |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment