BryanDavis has uploaded a new change for review. (
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, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant
refs/changes/03/343103/1
diff --git a/Vagrantfile b/Vagrantfile
index 3030f7b..fe32481 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -154,6 +154,17 @@
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.
+ if Vagrant.has_plugin?('vagrant-vbguest')
+ config.vbguest.auto_update = false
+ end
+
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: newchange
Gerrit-Change-Id: I5bade48d4255fef0afb854876e4f37b085d42e0c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits