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:
parent
d4821d39d9
commit
8de5d35d2d
@ -104,6 +104,11 @@ aio_block: &aio_info_block
|
|||||||
# be used and should already have an IP address assigned
|
# be used and should already have an IP address assigned
|
||||||
# to it.
|
# to it.
|
||||||
container_extra_networks:
|
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:
|
flat_network:
|
||||||
bridge: "{{ ansible_default_ipv4['alias'] }}"
|
bridge: "{{ ansible_default_ipv4['alias'] }}"
|
||||||
interface: mv-flat
|
interface: mv-flat
|
||||||
|
Loading…
x
Reference in New Issue
Block a user