summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/netinfo.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/cloudinit/netinfo.py b/cloudinit/netinfo.py
index 1f0fa571..541d2911 100644
--- a/cloudinit/netinfo.py
+++ b/cloudinit/netinfo.py
@@ -22,6 +22,11 @@
import cloudinit.util as util
+class NetInfo(object):
+ def __init__(self):
+ pass
+
+
def netdev_info(empty=""):
fields = ("hwaddr", "addr", "bcast", "mask")
(ifcfg_out, _err) = util.subp(["ifconfig", "-a"])