Merge "Always setup libvirt for tap devices when using Neutron"

This commit is contained in:
Jenkins 2017-05-23 01:26:25 +00:00 committed by Gerrit Code Review
commit 23ed6666ed
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ function install_libvirt {
# Configures the installed libvirt system so that is accessible by
# STACK_USER via qemu:///system with management capabilities.
function configure_libvirt {
if is_service_enabled neutron && is_neutron_ovs_base_plugin && ! sudo grep -q '^cgroup_device_acl' $QEMU_CONF; then
if is_service_enabled neutron && ! sudo grep -q '^cgroup_device_acl' $QEMU_CONF; then
# Add /dev/net/tun to cgroup_device_acls, needed for type=ethernet interfaces
cat <<EOF | sudo tee -a $QEMU_CONF
cgroup_device_acl = [