nspawn: add container_network config

We do not have a container_network configuration included which
means that the mv-container went up with no IP address.

This patch resolves this by bringing it up with the IP address
which is supposed to be the internal virtual IP.

Change-Id: I36c56a46fe37a0423552f99f221855118e328766
This commit is contained in:
Mohammed Naser 2019-02-01 13:02:26 -05:00
parent d4821d39d9
commit 8de5d35d2d
1 changed files with 5 additions and 0 deletions

View File

@ -104,6 +104,11 @@ aio_block: &aio_info_block
# be used and should already have an IP address assigned
# to it.
container_extra_networks:
container_network:
bridge: "{{ ansible_default_ipv4['alias'] }}"
interface: mv-container
address: 172.29.236.100
netmask: 255.255.252.0
flat_network:
bridge: "{{ ansible_default_ipv4['alias'] }}"
interface: mv-flat