diff options
Diffstat (limited to 'cloudinit/DataSource.py')
-rw-r--r-- | cloudinit/DataSource.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cloudinit/DataSource.py b/cloudinit/DataSource.py index d1458ffd..316eb5ae 100644 --- a/cloudinit/DataSource.py +++ b/cloudinit/DataSource.py @@ -35,6 +35,13 @@ class DataSource: def get_userdata_raw(self): return(self.userdata_raw) + + # the data sources' config_obj is a cloud-config formated + # object that came to it from ways other than cloud-config + # because cloud-config content would be handled elsewhere + def get_config_obj(self): + return({ }) + def get_public_ssh_keys(self): keys = [] if not self.metadata.has_key('public-keys'): return([]) |