diff options
author | Chuck Short <zulcss@ubuntu.com> | 2009-05-13 14:41:35 +0200 |
---|---|---|
committer | Chuck Short <zulcss@ubuntu.com> | 2009-05-13 14:41:35 +0200 |
commit | dd112c3afe50c75ae9b00f142b550c6e0d95f47b (patch) | |
tree | ce1843820c13f3c33dd16d34929deedf16107f37 /ec2-set-hostname.py | |
parent | 322bf4c779a378f113e6bf60714c66298aba876d (diff) | |
download | vyos-cloud-init-dd112c3afe50c75ae9b00f142b550c6e0d95f47b.tar.gz vyos-cloud-init-dd112c3afe50c75ae9b00f142b550c6e0d95f47b.zip |
* Really change the locale when setting up an instance. (LP: #341066)
* Run ec2-run-user-data script last. (LP: #373055)
* Minor comment tweaks. (LP:373057)
Diffstat (limited to 'ec2-set-hostname.py')
-rwxr-xr-x | ec2-set-hostname.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ec2-set-hostname.py b/ec2-set-hostname.py index 9abb8877..818d0e02 100755 --- a/ec2-set-hostname.py +++ b/ec2-set-hostname.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Fetch login credentials for EC2 +# Set up the hostname for ec2. # Copyright 2008 Canonical Ltd. # # Author: Chuck Short <chuck.short@canonical.com> @@ -54,6 +54,6 @@ def set_hostname(filename): id = get_ami_id() filename = '/var/ec2/.hostname-already-ran.%s' %id if os.path.exists(filename): - print "hostname already set previously" + print "Hostname already set previously....skipping!" else: set_hostname(filename) |