I've verified that the simple change at http://bazaar.launchpad.net/~smoser/ec2-init/ec2-init.smoser/revision/60 , fixes the problem.
I booted ami-59b25230 , changed /usr/bin/ec2-run-user-data , 'rm /var/lib/ec2/*', rebooted, and verified that my user data script ran (and also that ssh keys changed, as you would expect because the rm caused all ec2-init to re-run).
I've verified that the simple change at http:// bazaar. launchpad. net/~smoser/ ec2-init/ ec2-init. smoser/ revision/ 60 , fixes the problem.
I booted ami-59b25230 , changed /usr/bin/ ec2-run- user-data , 'rm /var/lib/ec2/*', rebooted, and verified that my user data script ran (and also that ssh keys changed, as you would expect because the rm caused all ec2-init to re-run).