Time synchronization between Ubuntu and VirtualBox

Posted on August 8, 2017. Filed under: Uncategorized | Tags: , , , |

rem VirtualBox: How to sync host and guest time?
rem https://superuser.com/questions/463106/virtualbox-how-to-sync-host-and-guest-time
rem all times in ms

REM ALL THE %VM% STUFF IS UNTESTED
REM ALL THE %VM% STUFF IS UNTESTED
REM ALL THE %VM% STUFF IS UNTESTED

set VM="Ubuntu 16.04.2"

REM ALL THE %VM% STUFF IS UNTESTED
REM ALL THE %VM% STUFF IS UNTESTED
REM ALL THE %VM% STUFF IS UNTESTED

cd "\program files\oracle\virtualbox"

VBoxManage guestproperty set %VM% "/VirtualBox/GuestAdd/VBoxService/--timesync-interval" 10000
VBoxManage guestproperty set %VM% "/VirtualBox/GuestAdd/VBoxService/--timesync-min-adjust" 100
VBoxManage guestproperty set %VM% "/VirtualBox/GuestAdd/VBoxService/--timesync-set-on-restore" 1
VBoxManage guestproperty set %VM% "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold" 1200000

VBoxManage guestproperty enumerate %VM% | grep timesync | sort

Liked it here?
Why not try sites on the blogroll...