Commit 3fd8397c by Kevin Falcone

Always reboot when taking an AMI

Not doing this means we can't guarantee filesystem integrity
and we've seen this bear out recently when several 16.04 instances had 0
length minos installs (the last task to run before the AMI is cut)
parent 9bf0315b
......@@ -701,7 +701,7 @@ def create_ami(instance_id, name, description):
params = {'instance_id': instance_id,
'name': name,
'description': description,
'no_reboot': True}
'no_reboot': False}
AWS_API_WAIT_TIME = 1
image_id = ec2.create_image(**params)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment