Ubuntu Pastebin

Paste from mpontillo at Wed, 27 Apr 2016 21:44:33 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
=== modified file 'src/provisioningserver/utils/network.py'
--- src/provisioningserver/utils/network.py	2016-04-16 01:44:56 +0000
+++ src/provisioningserver/utils/network.py	2016-04-27 21:43:45 +0000
@@ -824,7 +824,7 @@
                     parents.append(bond_nic)
         elif ipaddr["type"] == "ethernet.vlan":
             iface_type = "vlan"
-            parents.append(name.split(".", 1)[0])
+            parents.append(ipaddr['parent'])
             vid = ipaddr["vid"]
         elif ipaddr["type"] == "ethernet.bridge":
             iface_type = "bridge"
Download as text