diff options
Diffstat (limited to 'ec2-init.py')
-rwxr-xr-x | ec2-init.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ec2-init.py b/ec2-init.py index 6944ff54..45932fa7 100755 --- a/ec2-init.py +++ b/ec2-init.py @@ -20,6 +20,8 @@ def main(): sys.stderr.write("Failed to get instance data") sys.exit(1) + hostname = cloud.get_hostname() + subprocess.Popen(['hostname', hostname]).communicate() #print "user data is:" + cloud.get_user_data() # store the metadata |