You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Another problem, probably present due to the same bug, is that if a trailing slash is present, a folder is created anyway, instead of just copying the files.
This issue was originally opened by @markododa as hashicorp/packer#7530. It was migrated here as a result of the Packer plugin split. 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
The text was updated successfully, but these errors were encountered: