vars: Use lxc_net_bridge instead of hardcoded lxcbr0

'lxc_net_bridge' holds the name of the bridge interface for the lxc
containers so we need to use that one instead of the hardcoded 'lxcbr0'
value.

Change-Id: I8f7b01f90cf87f20092d83ee81689cae79b2477d
This commit is contained in:
Markos Chandras
2017-05-08 10:43:09 +01:00
parent 45dc5dc13d
commit 24dcf76a9f
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ lxc_cache_distro_packages:
lxc_cached_network_interfaces:
- src: "lxc-net-redhat-bridge.cfg.j2"
dest: "/etc/sysconfig/network-scripts/ifcfg-lxcbr0"
dest: "/etc/sysconfig/network-scripts/ifcfg-{{ lxc_net_bridge }}"
lxc_container_default_interfaces: |
DEVICE=eth0

View File

@@ -83,7 +83,7 @@ lxc_cache_distro_packages:
lxc_cached_network_interfaces:
- src: "lxc-net-suse-bridge.cfg.j2"
dest: "/etc/sysconfig/network/ifcfg-lxcbr0"
dest: "/etc/sysconfig/network/ifcfg-{{ lxc_net_bridge }}"
lxc_container_default_interfaces: |
STARTMODE=auto