summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/CloudConfig/__init__.py')
-rw-r--r--cloudinit/CloudConfig/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/CloudConfig/__init__.py b/cloudinit/CloudConfig/__init__.py
index 0962c238..91853dfd 100644
--- a/cloudinit/CloudConfig/__init__.py
+++ b/cloudinit/CloudConfig/__init__.py
@@ -33,13 +33,13 @@ class CloudConfig():
cfgfile = None
cfg = None
- def __init__(self,cfgfile, cloud=None):
+ def __init__(self,cfgfile, cloud=None, ds_deps=[]):
if cloud == None:
- self.cloud = cloudinit.CloudInit()
+ self.cloud = cloudinit.CloudInit(ds_deps)
+ self.cloud.get_data_source()
else:
self.cloud = cloud
self.cfg = self.get_config_obj(cfgfile)
- self.cloud.get_data_source()
def get_config_obj(self,cfgfile):
try: