Brion VIBBER has uploaded a new change for review.

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

Change subject: Add a box override for Microsoft Hyper-V VM provider
......................................................................

Add a box override for Microsoft Hyper-V VM provider

This gets basic setup working, but you have to manage networking
yourself and the port redirection doesn't work.

Bug: T89373
Change-Id: Iedbeedb03e7d1c5926c6a95f984fdbfb4a503b3e
---
M Vagrantfile
1 file changed, 14 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/26/190726/1

diff --git a/Vagrantfile b/Vagrantfile
index 218872a..3f65fc3 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -81,6 +81,20 @@
         override.nfs.functional = false
     end
 
+       # Microsoft Hyper-V provider. Enable with `--provider=hyperv`
+       # Not quite in 'just works' shape yet.
+       #
+       # You must run vagrant from an administrator shell to interact
+       # with the Hyper-V virtual machines...
+       #
+       # Note you must configure networking manually in Hyper-V Manager!
+       # NAT and port redirection are not automatically set up for you.
+       #
+       config.vm.provider :hyperv do |hyperv, override|
+               # Our default box doesn't have Hyper-V support...
+               override.vm.box = 'cirex/ubuntu-14.04'
+       end
+
     config.vm.network :private_network, ip: settings[:static_ip]
 
     config.vm.network :forwarded_port,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iedbeedb03e7d1c5926c6a95f984fdbfb4a503b3e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <[email protected]>

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

Reply via email to