summaryrefslogtreecommitdiff
path: root/cloudinit/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/__init__.py')
-rw-r--r--cloudinit/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py
index 02147461..fb153e4b 100644
--- a/cloudinit/__init__.py
+++ b/cloudinit/__init__.py
@@ -189,7 +189,7 @@ class CloudInit:
for cls in dslist:
ds = cls.__name__
try:
- s = cls()
+ s = cls(sys_cfg=self.cfg)
if s.get_data():
self.datasource = s
self.datasource_name = ds