Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save santerref/a52cbabac5d41acc95d78ab8c7275af3 to your computer and use it in GitHub Desktop.
Save santerref/a52cbabac5d41acc95d78ab8c7275af3 to your computer and use it in GitHub Desktop.
Disable vagrant time sync
#List vms
VBoxManage list vms
#get status of time sync
VBoxManage getextradata <vm-name> VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled
#NOTE: Make sure to restart the VM after changing these settings.
#disable time sync
VBoxManage setextradata <vm-name> VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled 1
#enable time sync
VBoxManage setextradata <vm-name> VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment