summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-02-18 23:05:32 -0500
committerScott Moser <smoser@ubuntu.com>2011-02-18 23:05:32 -0500
commit3e8114e3b8b349396f2cef6b6223dbd7f0ee15f2 (patch)
treeab93d5be55c745a842f0043cf5d724f38c711fd5
parentcf616d3258129472ac473bcb3b3efe012ae4e99c (diff)
downloadvyos-cloud-init-3e8114e3b8b349396f2cef6b6223dbd7f0ee15f2.tar.gz
vyos-cloud-init-3e8114e3b8b349396f2cef6b6223dbd7f0ee15f2.zip
add carriage return to cc_final_message.py output
-rw-r--r--cloudinit/CloudConfig/cc_final_message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_final_message.py b/cloudinit/CloudConfig/cc_final_message.py
index 4d72e409..fbdb5c94 100644
--- a/cloudinit/CloudConfig/cc_final_message.py
+++ b/cloudinit/CloudConfig/cc_final_message.py
@@ -46,7 +46,7 @@ def handle(name,cfg,cloud,log,args):
try:
subs = { 'UPTIME' : uptime, 'TIMESTAMP' : ts }
- sys.stdout.write(util.render_string(msg_in, subs))
+ sys.stdout.write("%s\n" % util.render_string(msg_in, subs))
except Exception as e:
log.warn("failed to render string to stdout: %s" % e)