summaryrefslogtreecommitdiff
path: root/ec2-init
AgeCommit message (Collapse)Author
2010-01-05initial re-org, ec2 data source successfully reads from cache if presentScott Moser
2009-12-14sync karmic and trunkScott Moser
This commit merges lp:~soren/ec2-init/0.5 at rev 67 and lp:ubuntu/lucid at 0.4.999-0ubuntu8
2009-09-25replace multiple '| logger' in regenerate_ssh_host_keys with a single oneScott Moser
This is a speed improvement as previous would make a fork/subshell for each pipe. This will only make a single fork. I've also verified that each line in logger output will still get the 'ec2' prefix $ printf "%s\n%s\n" "hi world" "by world" | logger -s -t ec2 2>/dev/null $ tail -n 2 /var/log/messages Sep 24 19:06:10 ip-10-242-225-190 ec2: hi world Sep 24 19:06:10 ip-10-242-225-190 ec2: by world The other thing to note is that I redirected stderr of the regenerate_ssh_host_keys call to logger, so it will go to the logs also.
2009-08-26Use /var/run/ec2 for mounting EBS volumes.Soren Hansen
2009-08-26Don't advertise a force-stop option to the init script that we don't ↵Soren Hansen
actually offer.
2009-08-11 * ec2-init: Remove invalid token '$ssh' in header (LP: #412143)Scott Moser
2009-08-11Remove call to update-motd from the init script. It is Ubuntu specific (and ↵Soren Hansen
is possibly not even needed there) Fix a bit of fallout due to code shuffling between EC2Init, ec2-set-apt-sources, and ec2-set-defaults.
2009-08-10Rerun the setting up of authorized keys if te AMI is rebundled.Soren Hansen
2009-08-10run_once_per_ami() and run_once_per_instance() are equivalent, so nuke ↵Soren Hansen
run_once_per_instance(). There are three cases: You want to run the script every time. In that case, simply do not wrap it. You want to rerun the script every time the AMI has been rebundled. Wrap it in run_once_per_ami. You want to run the script only once, ever. Wrap it in run_once_ever. If I'm missing a case, please tell me.
2009-08-10Move ec2 init script from debian/ out into top-level.Soren Hansen
Install init-script using distutils. Add -o to dh_installinit call to let it find the init script.