Posted on 07-11-2018 06:55 AM
I have some issues going on regarding this script thats pushing out our High Sierra OS upgrades via Self Service. The OS updates perfectly fine on the user side. No issues reported during our testing pushout, but it shows up as "failed" in the policy logs.
/Applications/Install macOS High Sierra.app/Contents/Resources/startosinstall --applicationpath "/Applications/Install macOS High Sierra.app" --volume $1 --rebootdelay 1 --nointeraction
killall "Self Service"
Any suggestions on why this is happening?
Posted on 07-11-2018 06:59 AM
From the Jamf supplied OS upgrade script:
##Begin Upgrade
/bin/echo "Launching startosinstall..."
"$OSInstaller/Contents/Resources/startosinstall" --applicationpath "$OSInstaller" --nointeraction --agreetolicense --pidtosignal $jamfHelperPID &
/bin/sleep 3
It seems that you are missing the "--agreetolicense". Also, for Self Service to exit gracefully, you need to send the "--pidtosignal" command.
Posted on 07-11-2018 07:42 AM
The failure can be because you are killing Self Service and so a completion result is not being sent to Jamf.