Hi-
We have a need to copy some logs created during the provisioning off the
VMs after they are created. We solved the problem with linux using the
file provisioner, but when we attempt to dod the transfer against windows
like so:
{
"type": "file",
"direction": "download",
"source": "C:/install-report.yml",
"only": ["virtualbox-iso"],
"destination": "/corp/tc/reports/{{ user `vm_name` }}-v{{ user
`version` }}.yml"
}
we get:
==> virtualbox-iso: Downloading C:/install-report.yml
=> /corp/tc/reports/eval_windows_2012_r2-v1472874940.yml
==> virtualbox-iso: Download failed: WinRM doesn't support download.
Is this a limitation of WinRM? Is there any other ways to transfer files
off the windows machines at the end of the provisioning stage?
-Jon
--
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/2a3484db-c80a-4d03-849f-fa4fab2f07a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.