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
It appears that SDK's SSH proxy adapter (used, for example, by the Ansible plugin) does not handle spaces in filenames correctly resulting in exit code 1 from scp during the transfer. The build runs fine if the proxy is disabled.
Reproduction Steps
Create a directory with build.sh with following contents:
Overview of the Issue
It appears that SDK's SSH proxy adapter (used, for example, by the Ansible plugin) does not handle spaces in filenames correctly resulting in exit code 1 from
scp
during the transfer. The build runs fine if the proxy is disabled.Reproduction Steps
build.sh
with following contents:Note that as described, adding
use_proxy = false
to the Ansible provisioner results in a successful build.Packer Plugin SDK version
0.5.1 (the version that the Packer Ansible plugin uses)
Operating system and Environment details
Packer ran from OS: Ubuntu Desktop 22.04.4 LTS x86_64
OS ran in Packer: Ubuntu Server 22.04.4 LTS x86_64
Log Fragments and crash.log files
https://gist.github.com/Jackenmen/bb97795a3e69709a1d7dda6cab75e07f
The text was updated successfully, but these errors were encountered: