libvirt: Add support for macvtap and VEPA

This commit is contained in:
Ricardo M. Correia 2014-03-27 14:08:36 +01:00
parent 61efc76a63
commit 56adfd34fc

View file

@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, libxml2, gnutls, devicemapper, perl, python
, iproute, iptables, readline, lvm2, utillinux, udev, libpciaccess, gettext
, libtasn1, ebtables, libgcrypt, yajl, makeWrapper, pmutils, libcap_ng
, dnsmasq
, dnsmasq, libnl
}:
let version = "1.2.2"; in
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [
pkgconfig libxml2 gnutls devicemapper perl python readline lvm2
utillinux udev libpciaccess gettext libtasn1 libgcrypt yajl makeWrapper
libcap_ng
libcap_ng libnl
];
preConfigure = ''
@ -29,7 +29,8 @@ stdenv.mkDerivation rec {
"--localstatedir=/var"
"--sysconfdir=/etc"
"--with-init-script=redhat"
"--without-macvtap"
"--with-macvtap"
"--with-virtualport"
];
installFlags = [