Remove obosletd lxc_container_interface variable

These variables are not used anywhere, so no need to carry them

Change-Id: Ib4b972a76bb63dba90d024f452724fec19411b87
This commit is contained in:
Dmitriy Rabotyagov 2020-07-01 23:27:31 +03:00
parent 044dabe435
commit 4153583bc4
5 changed files with 0 additions and 36 deletions

View File

@ -13,12 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# TODO: COnfigure with networkd or the other system.
# These seem to be unused placeholder items
lxc_container_default_route_interfaces: "/etc/network/interfaces.d/{{ item.value.interface }}.cfg"
lxc_container_interface_target: "/etc/network/interfaces.d/{{ item.value.interface }}.cfg"
lxc_container_default_interface: "/etc/network/interfaces"
# no official systemd image is published, but machinectl seems to work
lxc_container_backing_store: machinectl

View File

@ -13,13 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# NOTE(cloudnull): These variables have been kept to ensure
# we're cleaning up the old interface files.
# Remote this in the "R" release.
lxc_container_default_route_interfaces: "/etc/sysconfig/network-scripts/route-{{ item.value.interface }}"
lxc_container_interface_target: "/etc/sysconfig/network-scripts/ifcfg-{{ item.value.interface }}"
lxc_container_default_interface: "/etc/sysconfig/network-scripts/ifcfg-eth0"
lxc_container_map:
distro: centos
arch: amd64

View File

@ -13,13 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# NOTE(cloudnull): These variables have been kept to ensure
# we're cleaning up the old interface files.
# Remote this in the "R" release.
lxc_container_default_route_interfaces: "/etc/sysconfig/network-scripts/route-{{ item.value.interface }}"
lxc_container_interface_target: "/etc/sysconfig/network-scripts/ifcfg-{{ item.value.interface }}"
lxc_container_default_interface: "/etc/sysconfig/network-scripts/ifcfg-eth0"
lxc_container_map:
distro: centos
arch: amd64

View File

@ -14,17 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Note this is a used in an iterable and requires the <item.value.interface> variable
# The container interface variable is a a default object that assume the
# Ansible iterator type is `with_dict`.
lxc_container_interface: suse-interface.j2
lxc_container_route_interface: suse-routes.j2
lxc_container_default_route_interfaces: "/etc/sysconfig/network/ifroute-{{ item.value.interface }}"
lxc_container_default_interface: "/etc/sysconfig/network/ifcfg-eth0"
# Note this is a used in an iterable and requires the <item.value.interface> variable
lxc_container_interface_target: "/etc/sysconfig/network/ifcfg-{{ item.value.interface }}"
lxc_container_enable_resolved: false
lxc_container_map:

View File

@ -13,11 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# TODO: COnfigure with networkd or the other system.
lxc_container_default_route_interfaces: "/etc/network/interfaces.d/{{ item.value.interface }}.cfg"
lxc_container_interface_target: "/etc/network/interfaces.d/{{ item.value.interface }}.cfg"
lxc_container_default_interface: "/etc/network/interfaces"
lxc_container_map:
distro: ubuntu
arch: "{{ lxc_architecture_mapping.get( hostvars[physical_host]['ansible_architecture'] | lower ) }}"