I have a provisioners section that has a following snippet
{
"type":"file",
"source":"my-init.sh",
"destination":"/root/myuser/run/my-init.sh"
},
The source value may not always be in same directory where I am running the
packer build from. For example my packer.json might b
See
https://www.packer.io/docs/templates/user-variables.html#using-home-variable
On Thu, Sep 6, 2018, 06:04 wrote:
> I have a provisioners section that has a following snippet
> {
> "type":"file",
> "source":"my-init.sh",
> "destination":"/root/myuser/run/my-init.sh"
> },
>