Update scripts docs (#19419)

With #17321 we added support for `zsh` interpreter and we want to
document this.

@spokanemac had a hard time understanding that we don't support `.zsh`
extension while dogfooding the feature. I added note to explain that
user must create `.sh` file with `/bin/zsh` interpreter specified.
This commit is contained in:
Marko Lisica 2024-06-04 08:17:00 +02:00 committed by GitHub
parent 3968c49683
commit 83edd57eca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,8 @@
In Fleet you can execute a custom script to remediate an issue on your macOS, Windows, and Linux hosts.
Shell scripts are supported on macOS and Linux. All scripts will run in the host's (root) default shell (`/bin/sh`). Other interpreters are not supported yet.
Shell scripts are supported on macOS and Linux. By default, shell scripts will run in the host's (root) shell (`/bin/sh`). We also support `/bin/zsh` interpreter.
Note: To run in `/bin/zsh`, create `.sh` file (only supported extension) and add an interpreter at the first line.
PowerShell scripts are supported on Windows. Other types of scripts are not supported yet.