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]> 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/ms
>>> gid/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].
> 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/CALz9Rt-QqcVThQQCsP6FAv-xDS%3DEZax3fQwW2T6giwF54tEK2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to