summaryrefslogtreecommitdiff
path: root/ec2init/CloudConfig.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-01-22 11:21:16 -0500
committerScott Moser <smoser@ubuntu.com>2010-01-22 11:21:16 -0500
commit1108a511010c4497e94bca78769bef30e3c01dff (patch)
tree56623e6a6e274fe27490b7912dac6bbb9b858383 /ec2init/CloudConfig.py
parenta177947f41a187ea0c8ddda3bfb037fd3d0806d8 (diff)
downloadvyos-cloud-init-1108a511010c4497e94bca78769bef30e3c01dff.tar.gz
vyos-cloud-init-1108a511010c4497e94bca78769bef30e3c01dff.zip
fix reading of cloudconfig
Diffstat (limited to 'ec2init/CloudConfig.py')
-rw-r--r--ec2init/CloudConfig.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ec2init/CloudConfig.py b/ec2init/CloudConfig.py
index 96273e70..9c58246f 100644
--- a/ec2init/CloudConfig.py
+++ b/ec2init/CloudConfig.py
@@ -42,8 +42,7 @@ class CloudConfig():
f=file(cfgfile)
cfg=yaml.load(f.read())
f.close()
- util.mergedict(cfg,self.cloud.read_cfg)
- return(cfg)
+ return(util.mergedict(cfg,self.cloud.cfg))
def convert_old_config(self):
# support reading the old ConfigObj format file and turning it