-
Some operating systems might mark certain paths or file systems as non-executable (for example, this article explains this for Container-Optimized OS https://cloud.google.com/container-optimized-os/docs/concepts/disks-and-filesystem). Because of that (/tmp is non-executable on Container-Optimized OS), and since Spot saves scripts by default to the /tmp directory and tries to execute them from there, it always fails when the script is created using the YAML multiline approach. I guess it is possible to mitigate this by copying the script from the local computer to the remote host in the desired place and then executing it.
|
Beta Was this translation helpful? Give feedback.
Answered by
umputun
Feb 5, 2025
Replies: 1 comment 1 reply
Answer selected by
vo-va
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see #253