jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
BryanDavis: Looks good to me, approved
jenkins-bot: Verified
diff --git a/Vagrantfile b/Vagrantfile
index 8417bc9..de51c09 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -76,6 +76,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: merged
Gerrit-Change-Id: Iedbeedb03e7d1c5926c6a95f984fdbfb4a503b3e
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <[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