Merge "Always setup libvirt for tap devices when using Neutron"
This commit is contained in:
commit
23ed6666ed
@ -98,7 +98,7 @@ function install_libvirt {
|
|||||||
# Configures the installed libvirt system so that is accessible by
|
# Configures the installed libvirt system so that is accessible by
|
||||||
# STACK_USER via qemu:///system with management capabilities.
|
# STACK_USER via qemu:///system with management capabilities.
|
||||||
function configure_libvirt {
|
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
|
# Add /dev/net/tun to cgroup_device_acls, needed for type=ethernet interfaces
|
||||||
cat <<EOF | sudo tee -a $QEMU_CONF
|
cat <<EOF | sudo tee -a $QEMU_CONF
|
||||||
cgroup_device_acl = [
|
cgroup_device_acl = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user