Ori.livneh has submitted this change and it was merged.

Change subject: Retrieve box using HTTPS
......................................................................


Retrieve box using HTTPS

Vagrant does not currently perform SSL certificate validation, but this way
we'll at least be ready when that gets implemented.

Also added comment about how to download box securely.

Change-Id: I52924603e85c70732e272e8b5719d3f977fe6bbd
---
M Vagrantfile
1 file changed, 6 insertions(+), 1 deletion(-)

Approvals:
  Ori.livneh: Verified
  Mattflaschen: Looks good to me, approved



diff --git a/Vagrantfile b/Vagrantfile
index 9230093..3178932 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -6,8 +6,13 @@
     config.vm.hostname = 'mediawiki-vagrant'
     config.package.name = 'mediawiki.box'
 
+    # Note: If you rely on Vagrant to retrieve the box, it will not
+    # verify SSL certificates. If this concerns you, you can retrieve
+    # the file using another tool that implements SSL properly, and then
+    # point Vagrant to the downloaded file:
+    #   $ vagrant box add precise-cloud /path/to/file/precise.box
     config.vm.box = 'precise-cloud'
-    config.vm.box_url = 
'http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box'
+    config.vm.box_url = 
'https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box'
 
     config.vm.network :private_network,
         ip: '10.11.12.13'

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I52924603e85c70732e272e8b5719d3f977fe6bbd
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Daniel Friesen <[email protected]>
Gerrit-Reviewer: Mattflaschen <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>

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

Reply via email to