Hey all, I am not finding much info on packaging the install.sh script. I tried following a process very similar to the steps below, but my install keeps failing (no errors that lead to anything, just a generic 'installation failed' message). Any ideas? I'm wondering if this is caused by the script that calls on install.sh not running with sudo privilege?
Ultimately my goal is simply to include the agent in a DeployStudio workflow. If you have a suggestion, please let me know!
Pulled from another thread:
The install.sh is a shell script. If you don’t need a package for other reasons, you don’t have to make one. If your ultimate and only goal is to include it in DeployStudio workflow only, have you considered adding the script to DeployStudio as a Script, and running it that way? It would likely make sense to set it to “Postponed,” so that it runs after the first reboot of the system from its own internal startup disk.
Not sure if the “-i” flag is required. If so, deployment could be a combination of a “File copy” task (to put “install.sh” at a known location on the target disk) and a “Generic” (Script) task that runs the script (with the flag) that was copied. The “Generic” task would be the step to postpone.