jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/343103 )

Change subject: Disable vbguest plugin auto updates
......................................................................


Disable vbguest plugin auto updates

Bug: T69976
Change-Id: I5bade48d4255fef0afb854876e4f37b085d42e0c
---
M Vagrantfile
1 file changed, 9 insertions(+), 0 deletions(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Vagrantfile b/Vagrantfile
index 3030f7b..281a3ae 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -154,6 +154,15 @@
       group: 'www-data'
   end
 
+  # T69976: We used to install the vbguest plugin to ensure that VirtualBox
+  # guest extensions matched on the host and VM. This turns out to be
+  # semi-useful for an initial VM creation, but causes big problems once our
+  # custom Puppet code has messed with default location of the apt cache
+  # directories. The common fix given when asked on irc or Phabricator is to
+  # disable the plugin, so lets cut out the middleman and just do that
+  # preemptively in our Vagrantfile.
+  config.vbguest.auto_update = false if Vagrant.has_plugin?('vagrant-vbguest')
+
   config.vm.provider :virtualbox do |vb|
     # See http://www.virtualbox.org/manual/ch08.html for additional options.
     vb.customize ['modifyvm', :id, '--memory', settings[:vagrant_ram]]

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5bade48d4255fef0afb854876e4f37b085d42e0c
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Dduvall <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to