Age | Commit message (Collapse) | Author |
|
It will wait for around half an hour for the ec2 meta data service to turn
up and eventually execute the configured bailout command (if any) if it never
shows up.
Call this as the first thing in the init script.
|
|
Unify init script indentation style.
|
|
* 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)
|
|
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.
|
|
* Run ec2-run-user-data script last. (LP: #373055)
* Minor comment tweaks. (LP:373057)
|
|
- Add python-cheetah and python-apt as a dependency.
* debian/ec2-config.cfg:
- Remove distro due to the change in ec2-set-apt-sources.py
* debian/inistall
- Install the templates in the right place.
* ec2-set-apt-sources.py:
- Use python-apt to update the sources.list.
|
|
- 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.
|
|
- Allow user to choose which user they wish to configure for.
- Allow user to disable root user if they wish to.
* ec2-set-defaults.py:
- Set default timezone to UTC.
- Set locale depending on zone.
* debian/init:
- Removed nash plugin.
- Add ec2-set-defaults.
|
|
|
|
- Determine the zone that the user is in and generate
a /etc/apt/sources.list.d/ based on that.
* debian/init:
- Check to see if there is an /var/run/ec2 and create
it if it doesnt exist.
- Start ec2-set-apt-sources at first bootup.
* debian/rules:
- Install ec2-set-apt-sources.
* debian/control:
- Add python-configobj as a dependency.
* debian/{install,dirs}
- Create an /etc/ec2-init to read the configuration file and install it.
|
|
- 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.
|
|
|
|
(LP: #308533)
* Add ec2-set-hostname.py: Queries ec2 metdada for public-hostname
and then sets it (LP: #316201)
|
|
|