I am not disagreeing to the fact what you are saying about packer. I was just inquiring if it go extra mile to solve this or add as an feature.
As I mentioned in my original email gcloud does support that creating image from a given source instance's bootable disk and that's what I used it. On Tuesday, January 9, 2018 at 9:32:15 PM UTC-8, Rickard von Essen wrote: > > Packer is a automation tool made to create image from a template. Not to > create one from a running instance with random manual changes. Just use > gcloud for that. > > On Jan 9, 2018 23:30, "Lucky" <[email protected] <javascript:>> wrote: > >> Hi >> >> I have a running instance with lots of changes applied manually. >> I need that instances disk now to be converted to a bootable image using >> packer, so that I can consume >> that image to launch other instances using that original instance as >> source of base image. >> >> gcloud cli supports that feature, but I didn't see anything packer docs. >> >> Lucky >> >> >> On Friday, January 5, 2018 at 3:06:01 PM UTC-8, Rickard von Essen wrote: >>> >>> To my knowledge it's not possible. Do you have an imported boot disk? >>> >>> On Jan 4, 2018 23:33, "Lucky" <[email protected]> wrote: >>> >>>> Hi >>>> >>>> I was wondering, if there's equivalent in packer to create an image out >>>> of GCE's instance bootable disk?. >>>> >>>> Something what gcloud cli suggests, such as >>>> gcloud compute --project=ops-pcp-poc images create image-1 >>>> --source-disk=qdb01 --source-disk-zone=us-west1-a >>>> >>>> Would source_image=qdb01 work? >>>> >>>> Thanks >>>> Lucky >>>> >>>> -- >>>> This mailing list is governed under the HashiCorp Community Guidelines >>>> - https://www.hashicorp.com/community-guidelines.html. Behavior in >>>> violation of those guidelines may result in your removal from this mailing >>>> list. >>>> >>>> GitHub Issues: https://github.com/mitchellh/packer/issues >>>> IRC: #packer-tool on Freenode >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "Packer" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/packer-tool/eda7f1f9-a73a-41ef-b95d-fdd731adab48%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/packer-tool/eda7f1f9-a73a-41ef-b95d-fdd731adab48%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> This mailing list is governed under the HashiCorp Community Guidelines - >> https://www.hashicorp.com/community-guidelines.html. Behavior in >> violation of those guidelines may result in your removal from this mailing >> list. >> >> GitHub Issues: https://github.com/mitchellh/packer/issues >> IRC: #packer-tool on Freenode >> --- >> You received this message because you are subscribed to the Google Groups >> "Packer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/6e021e3f-c4a6-4d58-84f3-858e9e4973ed%40googlegroups.com >> >> <https://groups.google.com/d/msgid/packer-tool/6e021e3f-c4a6-4d58-84f3-858e9e4973ed%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/a664ffb0-eb41-4a9d-8e37-c9e564e489b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
