Gergő Tisza has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/264711

Change subject: Raise Virtualbox clock sync frequency
......................................................................

Raise Virtualbox clock sync frequency

This should cause Virtualbox to sync host and guest clock every
ten seconds. An accurate guest clock is required for time-based
or time-limited authentication methods such as OATH or OAuth.

Bug: T116507
Change-Id: Ie8706494abea6c56fd3fad160389628aa4b2a83b
---
M Vagrantfile
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/11/264711/1

diff --git a/Vagrantfile b/Vagrantfile
index 2ff682c..1ea009e 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -173,6 +173,9 @@
     vb.customize ['modifyvm', :id, '--natdnshostresolver1', 'on']
     vb.customize ['modifyvm', :id, '--natdnsproxy1', 'on']
 
+    # Prevent clock drift, see http://stackoverflow.com/a/19492466/323407
+    vb.customize [ "guestproperty", "set", :id, 
"/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold", 10000 ]
+
     # To boot the VM in graphical mode, uncomment the following line:
     # vb.gui = true
   end

-- 
To view, visit https://gerrit.wikimedia.org/r/264711
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie8706494abea6c56fd3fad160389628aa4b2a83b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Gergő Tisza <gti...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to