Revert "m/n/c/network: return original links"

This reverts commit 966f5eae18326ca6efd6ca9f90013ba8d2d25ac0.

Reason for revert: Breaks static networking with a lot of interfaces

Change-Id: I3cd54c3fc4e57f05aa1d939583d292bee028d560
Reviewed-on: https://review.monogon.dev/c/monogon/+/2604
Tested-by: Jenkins CI
Reviewed-by: Serge Bazanski <serge@monogon.tech>
diff --git a/metropolis/node/core/network/static.go b/metropolis/node/core/network/static.go
index 1671884..abe9aca 100644
--- a/metropolis/node/core/network/static.go
+++ b/metropolis/node/core/network/static.go
@@ -325,7 +325,11 @@
 	if len(matchedDevices) <= int(it.Device.Index) || it.Device.Index < 0 {
 		return nil, fmt.Errorf("there are %d matching host devices but requested device index is %d", len(matchedDevices), it.Device.Index)
 	}
-	return matchedDevices[it.Device.Index], nil
+	dev := &netlink.Device{
+		LinkAttrs: netlink.NewLinkAttrs(),
+	}
+	dev.Index = matchedDevices[it.Device.Index].Index
+	return dev, nil
 }
 
 var lacpRateMap = map[netpb.Bond_LACP_Rate]netlink.BondLacpRate{