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
{{ message }}
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
Testing things with the shell provisioner, I have a 'bootstrap.sh' that is 0755 on my local system. Running kitchen converge copies over SFTP by default, and results in this error:
% KITCHEN_SYNC_MODE=SFTP kitchen converge whoa
-----> Starting Kitchen (v1.3.1)
-----> Converging <whoa-centos-70>...
Preparing files for transfer
Preparing script
Transferring files to <whoa-centos-70>
[sync] Time taken to upload /var/folders/4r/4fpyt_2d1qvfrgb2fnngrqm40000gn/T/whoa-centos-70-sandbox-20150315-39593-r9ek9s/bootstrap.sh to #<Net::SSH::Connection::Session:0x007ffb420d0648>:/tmp/kitchen: 0.12 sec
sudo: /tmp/kitchen/bootstrap.sh: command not found
>>>>>> Converge failed on instance <whoa-centos-70>.
>>>>>> Please see .kitchen/logs/whoa-centos-70.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sh -c '
sudo -E /tmp/kitchen/bootstrap.sh
']
>>>>>> ----------------------
Workaround
The Rsync mode works correctly.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Testing things with the shell provisioner, I have a 'bootstrap.sh' that is 0755 on my local system. Running
kitchen converge
copies over SFTP by default, and results in this error:Workaround
The
Rsync
mode works correctly.The text was updated successfully, but these errors were encountered: