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
The documentation suggests that directory upload is possible, however, in my tests, it is not. It fails with Upload failed: scp: /home/ubuntu/: Is a directory, where /home/ubuntu/ is the destination directory.
Reproduction Steps
mkdir data
echo test > data/test
packer build azure.pkr.hcl # see below for azure.pkr.hcl file used
Hey there, I was able to reproduce the issue and I'll take some time to figure out what's going on here. Thanks for reporting!
To add more information, the issue only happened with the azure builder. I tested with docker use ubuntu image and the same provisioner definition worked fine.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Overview of the Issue
The documentation suggests that directory upload is possible, however, in my tests, it is not. It fails with
Upload failed: scp: /home/ubuntu/: Is a directory
, where/home/ubuntu/
is the destination directory.Reproduction Steps
Packer version
1.7.0
Simplified Packer Buildfile
azure.pkr.hcl
Operating system and Environment details
Tested on Windows 10 and Ubuntu 20.04 on WSL 2.0.
Log Fragments and crash.log files
The text was updated successfully, but these errors were encountered: