Skip to content

Instantly share code, notes, and snippets.

@X0nic
Last active February 4, 2022 04:52
Show Gist options
  • Save X0nic/4724674 to your computer and use it in GitHub Desktop.
Save X0nic/4724674 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
@lucasprag
Copy link

vagrant reload

and don`t forget to reload
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment