hashicorp / hashicorp/packer-plugin-lxd

File provisioner with lxd builder acts if trailing slash is present

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
builder/lxd community-supported plugin track-internal
Dominant language
Go
Stars
14
Forks
20
PR merge metrics
No merged PRs in 30d

Description

_This issue was originally opened by @markododa as hashicorp/packer#7530. It was migrated here as a result of the [Packer plugin split](https://github.com/hashicorp/packer/issues/8610#issuecomment-770034737). The original body of the issue is below._


Using the lxd builder, i have a simple file provisioner decleration

`{
"type": "file",
"source": "/root/saltstack/reactor",
"destination": "/srv/reactor"
},
`
as per the documentation at https://www.packer.io/docs/provisioners/file.html this should create a folder /srv/reactor with the contents of the source directory.
However /srv/reactor is not created but its contents are in the /srv folder

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.