hello

you and remove that post-processor if you don't needed.

You can set the output directory to ensure a known path to where the
VM/files will be created

output_directory
<https://www.packer.io/docs/builders/hyperv-iso.html#output_directory> (string)
- This is the path to the directory where the resulting virtual machine
will be created. This may be relative or absolute. If relative, the path is
relative to the working directory when packer is executed. This directory
must not exist or be empty prior to running the builder. By default this is
"output-BUILDNAME" where "BUILDNAME" is the name of the build.


perhaps after packer builds this VM you can copy/create template before
provisioning a new VM.

Alvaro

On Wed, Nov 22, 2017 at 4:31 PM, Milan <[email protected]> wrote:

> I tried using https://github.com/taliesins/packer-baseboxes for hyper-v
> build for windows 2012 and i dont see an option to see to save the vhdx
> file in a separate folder, and is there anyway we can see the
> post-processors for hyper-v not the vagrant box? Any help will do
>
> "post-processors": [
> {
> "type": "vagrant",
> "keep_input_artifact": false,
> "output": "{{.Provider}}_windows-2012r2_chef.box"
>
>
> --
> 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/afc49e75-c5dc-49e3-8564-7cf49063a743%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/afc49e75-c5dc-49e3-8564-7cf49063a743%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
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/CAHqq0eym37WeUc_rx4wryjMyktufW9o3CcOLtDfGVtwpsNLhyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to