Try setting "skip_export"
https://www.packer.io/docs/builders/hyperv-iso.html#skip_export

On Thu, Apr 4, 2019 at 4:37 AM Ehsan Tajek <[email protected]> wrote:

> Hi Rickard,
>
> i did that, but still it deletes my vm and create an output file, which I
> need to manually create the VM again.
> See picture. How i can fix that?
>
>
>
> Am Donnerstag, 4. April 2019 10:32:58 UTC+2 schrieb Rickard von Essen:
>>
>> Just remove the post-processor vagrant section of your template.
>>
>> On Thu, Apr 4, 2019, 09:52 Ehsan Tajek <[email protected]> wrote:
>>
>>> Hello all
>>>
>>> i'm using hyperv-iso builder to build my vm with specific configuartion.
>>> I'm using Windows 10 with Hyper-V activated, so the builder itself is
>>> pretty great.
>>> After packer finishes everything it deletes the vm and export the
>>> vagrant box. How I can keep the VM, because it does everything I need, I
>>> can connect with it through the hyperv connector, so vagrant is not really
>>> needed.
>>>
>>> Thank you for helping me!
>>>
>>> Kind regards,
>>> Ehsan
>>>
>>> --
>>> 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/a2079709-8585-4e84-a41f-591bcda4d0ba%40googlegroups.com
>>> <https://groups.google.com/d/msgid/packer-tool/a2079709-8585-4e84-a41f-591bcda4d0ba%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/ed9ac559-59b7-41e3-b799-d46931e9103f%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/ed9ac559-59b7-41e3-b799-d46931e9103f%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/CAGPV1ura%3Do-tjD1B%2BN31wf6YaapYTqPZnQ90y0pHkahz81AHYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to