Discussion:
No reboot option for Ec2 image
sreenivas narayan
2017-10-20 11:18:06 UTC
Permalink
Hello Guys,

I am using ruby for taking image of Ec2 instance using the code below.

---
#Create AMI

image_name = "#{instancename}"
image_description = "#{description}"
instance_id = "#{ID}"
image = conn.create_image(instance_id,image_name,image_description)
---

Please help me how to enable* no reboot option *while creating AMI.

Thanks
Sreenivas
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frederick Cheung
2017-10-20 12:19:40 UTC
Permalink
Post by sreenivas narayan
image = conn.create_image(instance_id,image_name,image_description)
---
Please help me how to enable no reboot option while creating AMI.
There’s a no_reboot parameter - see http://www.rubydoc.info/github/fog/fog-aws/Fog%2FCompute%2FAWS%2FReal%3Acreate_image

Fred
Post by sreenivas narayan
Thanks
Sreenivas
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...