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