Fix ec2_ami no_reboot setting (currently it will not reboot instances to create the AMI)

Line 276: no_reboot = dict(default=True, type="bool"),

This should really default to False (When AMIs are created the machine will reboot before copying the disk).

"When enabled, Amazon EC2 does not shut down the instance before creating the image. When this option is used, file system integrity on the created image cannot be guaranteed."
pull/5276/head
evan82 11 years ago
parent 1688a7c776
commit 01e8390a8f

@ -273,7 +273,7 @@ def main():
wait = dict(type="bool", default=False), wait = dict(type="bool", default=False),
wait_timeout = dict(default=900), wait_timeout = dict(default=900),
description = dict(default=""), description = dict(default=""),
no_reboot = dict(default=True, type="bool"), no_reboot = dict(default=False, type="bool"),
state = dict(default='present'), state = dict(default='present'),
region = dict(aliases=['aws_region', 'ec2_region'], choices=AWS_REGIONS) region = dict(aliases=['aws_region', 'ec2_region'], choices=AWS_REGIONS)
) )

Loading…
Cancel
Save