Browse Source

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
Nicolas Bock 7 months ago
parent
commit
f54f58f57f
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tasks/nspawn_networking.yml

+ 1
- 0
tasks/nspawn_networking.yml View File

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

Loading…
Cancel
Save