Why not use file provisioner instead.

https://packer.io/docs/provisioners/file.html

Thanks
Gautam

On Mon, Feb 10, 2020, 2:45 PM Ralphael Johnson <[email protected]>
wrote:

> I have a file on a remote server that I am trying to have copied over
> during the build process. Its failing to copy the file but it is connecting
> successfully.  Is anyone using scp inside a script to copy a file from a
> remote server during the packer build?
>
> --
> 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/8cec51e4-7578-4ce1-be05-2a6eff92e406%40googlegroups.com
> .
>

-- 
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/CAA7kr8AvZWT7wn4YPuQBscWwCZrN%2B7Vq5rdqesF-heWnvNDhJg%40mail.gmail.com.

Reply via email to