Hyper-v Builds

35 views
Skip to first unread message

Milan

unread,
Nov 22, 2017, 10:31:27 AM11/22/17
to Packer
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"


Alvaro Miranda Aguilera

unread,
Nov 23, 2017, 3:51:26 AM11/23/17
to packe...@googlegroups.com
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 (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

--
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 packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/afc49e75-c5dc-49e3-8564-7cf49063a743%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages