Add missing variable for nspawn networking

The variable `interface` is not defined in the `if` part of the
conditional, however, it is referenced later on.

Change-Id: I86ed0daabe369b984bf534d3bcf471c73c7795ce
This commit is contained in:
Nicolas Bock 2018-09-13 16:08:07 -06:00
parent deaa0730c9
commit f54f58f57f
No known key found for this signature in database
GPG Key ID: 9E90013DEF7F5B7B
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@
{%- set seen_start_interfaces = [] %}
{%- for key, value in nspawn_combined_networks.items() %}
{%- if value.interface is defined %}
{%- set interface = value.interface %}
{%- set mv_interface = value.interface %}
{%- else %}
{%- set interface = value.bridge.split('br-')[-1] %}