On Fri, May 20, 2016 at 11:49 AM, Joe Stringer <j...@ovn.org> wrote:

> 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
>
Libvirt support is not currently documented on the Vagrant web site.
It may be nice to add a bit more document, and perhaps add links that have
the relavent information.

On the other hand, do we need to support all those types of providers (and
therefore different Linux images?)
It may be nicer to support one of them well. I'd vote for libvirt provided
that we can fix the documentation issues
mentioned above.  What do you think?

        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