and neutron_agent on RHEL 10 LXC on RHEL 10 is built without AppArmor support, causing cinder-volumes and neutron_agent containers startup to fail. Make it conditional, keeping unconfined only on Debian/Ubuntu. Change-Id: I7f824811ce2e7a496e6bafbaadce23c2d76cc0fc Signed-off-by: Dmitriy Chubinidze <dcu995@gmail.com>
28 lines
1.1 KiB
YAML
28 lines
1.1 KiB
YAML
---
|
|
# Copyright 2016, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# Set basic DHCP configuration for neutron. These options simply allow
|
|
# A neutron DHCP server to coexist with other DHCP servers within the
|
|
# same broadcast domain. The log option provides basic logging for
|
|
# neutron DHCP.
|
|
neutron_dhcp_config:
|
|
dhcp-ignore: "tag:!known"
|
|
|
|
lxc_container_config_list: "{{ ((hostvars[physical_host]['ansible_facts']['os_family'] | lower) == 'debian') | ternary(['lxc.apparmor.profile=unconfined'], []) }}"
|
|
|
|
|
|
# Ensure that all neutron agent containers get a fixed mac address
|
|
lxc_container_fixed_mac: true
|