Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion coriolis/osmorphing/netpreserver/nmconnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def parse_network(self):
"ethernet", self.nmconnection_file)
if nmconnection_ethernet:
for nmconn_file, nmconn in nmconnection_ethernet:
name = nmconn.get("connection", {}).get("id")
name = nmconn.get("interface-name", nmconn.get("id"))
if not name:
name = re.match(r"^.*/(.*)\.nmconnection$",
nmconn_file).groups()[0]
Expand Down
Loading