Force vbox timesync at boot
parent
bf815ddc58
commit
c3ce6ba0ec
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue