summaryrefslogtreecommitdiff
path: root/cloudinit/sources/__init__.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-22 03:50:28 -0400
committerScott Moser <smoser@ubuntu.com>2016-03-22 03:50:28 -0400
commit9c0a2abc8d2c0e390745ddb163f5eae07b20d61d (patch)
tree910459878f970a42d9895758a5d59275916953ba /cloudinit/sources/__init__.py
parent6ce134c1868478345471ba9166f1523f7d9bf19d (diff)
downloadvyos-cloud-init-9c0a2abc8d2c0e390745ddb163f5eae07b20d61d.tar.gz
vyos-cloud-init-9c0a2abc8d2c0e390745ddb163f5eae07b20d61d.zip
add code to invoke networking config
there is no data source that has a populated network_config() so at this point this doesn't do anything.
Diffstat (limited to 'cloudinit/sources/__init__.py')
-rw-r--r--cloudinit/sources/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py
index 28540a7b..c63464b2 100644
--- a/cloudinit/sources/__init__.py
+++ b/cloudinit/sources/__init__.py
@@ -221,6 +221,10 @@ class DataSource(object):
# quickly (local check only) if self.instance_id is still
return False
+ @property
+ def network_config(self):
+ return None
+
def normalize_pubkey_data(pubkey_data):
keys = []