The default vagrant box for fedora23 uses the images provided by Chef's
"bento" project, which has support for 3 backend providers: parallels,
virtualbox and vmware. However, they do not build boxes for the libvirt
backend.

Introduce an override for the box to use the official fedora project box
if trying to use the libvirt provider.

Signed-off-by: Joe Stringer <j...@ovn.org>
---
 Vagrantfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Vagrantfile b/Vagrantfile
index 4f2e0fdb7c48..dab03de56fac 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -56,6 +56,9 @@ SCRIPT
 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
   config.vm.define "fedora-23" do |fedora|
        fedora.vm.box = "bento/fedora-23"
+       fedora.vm.provider :"libvirt" do |lv, override|
+           override.vm.box = "fedora/23-cloud-base"
+       end
        fedora.vm.provision "bootstrap", type: "shell", inline: 
$bootstrap_fedora
        fedora.vm.provision "configure_ovs", type: "shell", inline: 
$configure_ovs
        fedora.vm.provision "build_ovs", type: "shell", inline: $build_ovs
-- 
2.8.2

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to