diff options
author | Marc Cluet <marc.cluet@canonical.com> | 2011-02-20 14:08:55 +0000 |
---|---|---|
committer | Marc Cluet <marc.cluet@canonical.com> | 2011-02-20 14:08:55 +0000 |
commit | 668ac16c88f4ce7bbc0bce09dee00dfb34cc290b (patch) | |
tree | 93c5bb3ede76a8894801c559edb96fde7c235bd9 | |
parent | d8c2837f8c0098d7fa5e05ea441531ec0191a409 (diff) | |
download | vyos-cloud-init-668ac16c88f4ce7bbc0bce09dee00dfb34cc290b.tar.gz vyos-cloud-init-668ac16c88f4ce7bbc0bce09dee00dfb34cc290b.zip |
Change output format for ConfigParser
-rw-r--r-- | cloudinit/CloudConfig/cc_mcollective.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_mcollective.py b/cloudinit/CloudConfig/cc_mcollective.py index b06f0207..d7302fe8 100644 --- a/cloudinit/CloudConfig/cc_mcollective.py +++ b/cloudinit/CloudConfig/cc_mcollective.py @@ -61,7 +61,7 @@ def handle(name,cfg,cloud,log,args): mcollective_config.write(outputfile) # Now we got the whoe file, write to disk except first line final_configfile = open('/etc/mcollective/server.cfg', 'wb') - final_configfile.write(outputfile.getvalue().replace('[nullsection]\n','')) + final_configfile.write(outputfile.getvalue().replace('[nullsection]\n','').replace(' =',':')) final_configfile.close() # Start mcollective |