Force vbox timesync at boot

pull/3476/head
Thomas Stromberg 2018-12-17 11:59:00 -08:00
parent bf815ddc58
commit c3ce6ba0ec
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,9 @@ ConditionVirtualization=oracle
ExecStartPre=-/usr/sbin/modprobe vboxguest
ExecStartPre=-/usr/sbin/modprobe vboxvideo
ExecStartPre=-/usr/sbin/modprobe vboxsf
ExecStart=/usr/sbin/VBoxService -f --disable-automount
# Normally, VirtualBox only syncs every 20 minutes. This syncs on start,
# restore, and forces an immediate sync if VM time is over 5 seconds off.
ExecStart=/usr/sbin/VBoxService -f --disable-automount --timesync-set-start --timesync-set-on-restore=1 --timesync-set-threshold 5000
[Install]
WantedBy=multi-user.target