fleet/pkg/file/scripts
Roberto Dip 37fe905f96
missing validations and tweaks to default scripts (#18780)
This adds two things:

- when implementing the CLI, I found [a
panel](https://www.figma.com/file/oQl2oQUG0iRkUy0YOxc307/%2314921-Deploy-security-agents-to-macOS%2C-Windows%2C-and-Linux-hosts?type=design&node-id=779-29335&mode=design&t=Y27cbj7DdhUEGJko-4)
in the Figma file with validations that I missed
- explicit shebang for bash scrips (requested by product) and removed a
comment that will be user facing for exe files.
2024-05-07 13:02:08 -03:00
..
install_deb.sh missing validations and tweaks to default scripts (#18780) 2024-05-07 13:02:08 -03:00
install_exe.ps1 missing validations and tweaks to default scripts (#18780) 2024-05-07 13:02:08 -03:00
install_msi.ps1 add scripts to add/remove software (#18649) 2024-05-01 14:15:59 -03:00
install_pkg.sh missing validations and tweaks to default scripts (#18780) 2024-05-07 13:02:08 -03:00
README.md adjust logic to get default scripts (#18719) 2024-05-06 11:41:31 -03:00
remove_deb.sh missing validations and tweaks to default scripts (#18780) 2024-05-07 13:02:08 -03:00
remove_exe.ps1 add scripts to add/remove software (#18649) 2024-05-01 14:15:59 -03:00
remove_msi.ps1 add scripts to add/remove software (#18649) 2024-05-01 14:15:59 -03:00
remove_pkg.sh missing validations and tweaks to default scripts (#18780) 2024-05-07 13:02:08 -03:00

File scripts

This folder contains scripts to install/remove software for different types of installers.

Scripts are stored on their own files for two reasons:

  1. Some of them are read and displayed in the UI.
  2. It's helpful to have good syntax highlighting and easy ways to run them.

Variables

The scripts in this folder accept variables like $VAR_NAME that will be replaced/populated by fleetd when they run.

Supported variables are:

  • $INSTALLER_PATH path to the installer file.