summaryrefslogtreecommitdiff
path: root/ec2-set-hostname.py
AgeCommit message (Collapse)Author
2009-08-10Stop mangling /etc/hosts. EC2 provides a functional DNS.Soren Hansen
Replace use of os.system with a call to subprocess.Popen.
2009-06-27Clean out unused importsSoren Hansen
2009-06-27Update license to GPLv3 (dropping the "or later" bit).Soren Hansen
Update copyright years. Add copyright and license information to setup.py. Add myself as author of the relevant files.
2009-06-26 * Distutils addedSoren Hansen
* New ec2init python module introduced * Lots and lots of stuff cleaned up and moved to ec2init python module. * Started the move to Boto
2009-05-28 * debian/init: Run update-motd regardless whether its a firstboot or not.Chuck Short
* debian/init: Fix comments (LP: #373057) * debian/control: Add update-motd as a depends. * ec2-set-defaults.py: Wait for network to become available. (LP: #308530)
2009-05-14 * debian/init: Move init script to run before ssh and regenerate the sshChuck Short
host kes in the init script rather than /etc/rc.local (LP: #370628) * ec2-set-apt-sources.py: - Move sources.list to /var/ec2 so it doesnt get removed after user reboots. * ec2-set-defaults.py: - Move locale to /var/ec2/ so it doesnt get remove after user reboots. * ec2-set-hostname.py - Create an /etc/hostname as well.
2009-05-13 * Really change the locale when setting up an instance. (LP: #341066) Chuck Short
* Run ec2-run-user-data script last. (LP: #373055) * Minor comment tweaks. (LP:373057)
2009-05-05 * Add more smarts to ec2 instance bring up. (LP: #371936)Chuck Short
2009-04-06* ec2-set-hostname.py:Chuck Short
- Use template for /etc/hosts creation. - Dont use public_hostname in /etc/hosts. (LP: #352745) * debian/control: - Add python-cheetah as a depends. * templates/sources.list.tmpl: - Update template. * debian/init: - Run the ec2-user-data script last so that the users get a stable system before running the user scripts.
2009-02-04* debian/init:Chuck Short
- Remove already ran detection - Log the running of ec2-run-user-data to /var/log/ec2-user-data.log * ec2-set-hostname.py: - set hostname to the Ec2 local-hostname - Update the /etc/hosts to change the ubuntu hostname to the public hostname. * ec2-fetch-credentials: - Copy the ssh keys to the ubuntu user. - Setup authorized keys for root to tell the user to login as the ubuntu user when they try to connect. * ec2-run-user-data: - Create an .already-ran file to check to see if ec2-run-user-data already ran. - Save the ec2-run-user-data script in /var/ec2.
2009-01-14* debian/init: Run fetch-credentials before anything else.Chuck Short
(LP: #308533) * Add ec2-set-hostname.py: Queries ec2 metdada for public-hostname and then sets it (LP: #316201)