Is packer making it to the "provisioners" stage? If so, and if you know the
path to the file you want, you could try using the `direction` parameter of
the "file" provisioner to download it.
{
"type": "file",
"source": "/tmp/manifest.log",
"destination": "./manifest.log",
"direction": "download"
}
https://www.packer.io/docs/provisioners/file.html#direction
-Loren
On Saturday, July 23, 2016 at 12:46:03 PM UTC-4, Bruno Vernay wrote:
>
> The VirtualBox forums are asking for logs and I have a hard time to get
> them since Packer clean up everything.
>
> I ended up doing "tail -f VBMachines/my-vm/Logs/VBox.log" but maybe there
> is a better way?
>
> The --debug step-by-step is not an option since there is a timing issue
> and I don't reproduce the problem if I introduce long delays.
>
> Also I have logs up to the shutdown I guess, but how could I get the
> post_manage logs ???
> Is there a do not clean up option ??
>
> Thanks
>
--
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/1377a7e3-adf9-4a72-bfb7-db24d239320b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.