From 3e8114e3b8b349396f2cef6b6223dbd7f0ee15f2 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Fri, 18 Feb 2011 23:05:32 -0500 Subject: add carriage return to cc_final_message.py output --- cloudinit/CloudConfig/cc_final_message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3