ec2-init: fetch-credentials not run on rebundled image
Bug #407919 reported by
Eric Hammond
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EC2 init scripts |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu on EC2 |
Fix Released
|
High
|
Unassigned |
Bug Description
This applies to dev testing ami-af3fdec6
When a running instance is rebundled and run as a new instance, ssh attempts are rejected.
I tracked this down to the ec2-fetch-
This should be changed to "run_once_per_ami" or "run_once_
Related branches
Changed in ubuntu-on-ec2: | |
status: | New → Confirmed |
importance: | Undecided → High |
To post a comment you must log in.
This is fixed in ec2-init scripts 0.4.99-0ubuntu1 .
/etc/init. d/ec2-init now has:
log_ daemon_ msg "Fetching EC2 SSH keys" credentials 2> /dev/null
log_end_ msg 0
log_end_ msg 1
if run_once_per_ami ssh_authorized_keys
then
if ec2-fetch-
then
else
fi
fi
I've verified that inside of http:// ec2-images. ubuntu. com/karmic/ 20090811. 2/ubuntu- ec2-karmic- amd64.img. gz
Please re-open if the fix is not working.