Created
December 8, 2015 09:53
-
-
Save voidius/aae110d490cda82a3275 to your computer and use it in GitHub Desktop.
Virtualbox host-to-guest time synchronisation
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
# Time sync for Vagrantboxes | |
vb.customize ["setextradata", :id, "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled", 0] | |
vb.customize ["guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold", 1000] | |
vb.customize ["guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/--timesync-set-start", 1 ] | |
... | |
config.vm.provision :shell, inline: 'timedatectl set-timezone Europe/Riga' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment