From 6a80e79a485aec3dcf1072be411441b415302038 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Mon, 11 Jun 2012 17:16:07 -0700 Subject: Start of cleaning this up. --- cloudinit/netinfo.py | 5 +++++ 1 file changed, 5 insertions(+) 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"]) -- cgit v1.2.3