summaryrefslogtreecommitdiff
path: root/ec2-init.py
diff options
context:
space:
mode:
authorScott Moser <smoser@nelson>2010-01-08 00:11:07 -0500
committerScott Moser <smoser@nelson>2010-01-08 00:11:07 -0500
commit788a3bfb0165caacade779a5b99891e04cdf7123 (patch)
tree73f546e96e90cb5cb90bfa9fa3b516896a8b2192 /ec2-init.py
parentbddf1df6cd1d2dad82d6cc3bc5ff13df7f4d8691 (diff)
downloadvyos-cloud-init-788a3bfb0165caacade779a5b99891e04cdf7123.tar.gz
vyos-cloud-init-788a3bfb0165caacade779a5b99891e04cdf7123.zip
fixes found testing in ec2
Diffstat (limited to 'ec2-init.py')
-rwxr-xr-xec2-init.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ec2-init.py b/ec2-init.py
index 45932fa7..8d6c0932 100755
--- a/ec2-init.py
+++ b/ec2-init.py
@@ -32,7 +32,7 @@ def main():
cloud.sem_and_run("consume_userdata", "once-per-instance",
cloud.consume_userdata,[],False)
except:
- warn("consuming user data failed!")
+ warn("consuming user data failed!\n")
raise
# set the defaults (like what ec2-set-defaults.py did)
@@ -40,7 +40,7 @@ def main():
generate_sources_list(cloud.get_mirror())
apply_locale(cloud.get_locale())
except:
- warn("failed to set defaults")
+ warn("failed to set defaults\n")
# set the ssh keys up
cloud.apply_credentials()