summaryrefslogtreecommitdiff
path: root/cloudinit/__init__.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-02-07 13:08:41 -0500
committerScott Moser <smoser@ubuntu.com>2011-02-07 13:08:41 -0500
commit53173904c3bf539097efa4a7d88223e75dd8d103 (patch)
tree40313f2955186fa951af7c83aacd5cf0334625a4 /cloudinit/__init__.py
parent0bb0a6a8fddbce3dafba92ea836e73eea79266d8 (diff)
downloadvyos-cloud-init-53173904c3bf539097efa4a7d88223e75dd8d103.tar.gz
vyos-cloud-init-53173904c3bf539097efa4a7d88223e75dd8d103.zip
call DataSource classes with sys_cfg argument
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