It's working with the scripts thanks to Laurent Pertois for sharing an thanks to Joshua Roskos for this.
We just adapt a little bit the script for 10.12.4 because some option are no more present in the .app installer
Line 79 to 86
Check if installer is present
if [ -d /Users/Shared/Install\ macOS\ Sierra.app ]; then installerPresent="OK" /bin/echo "Installer present: OK - the installer is in /Users/Shared"
else installerPresent="ERROR" /bin/echo "Installer present: ERROR - the installer is not in /Users/Shared"
fi
Line 118
/bin/mkdir -p /usr/local/jamfps
Line 164
if [[ ${pwrStatus} == "OK" ]] && [[ ${spaceStatus} == "OK" ]] && [[ ${installerPresent} == "OK" ]]; then
Hi,
It's working with the scripts thanks to Laurent Pertois for sharing an thanks to Joshua Roskos for this. We just adapt a little bit the script for 10.12.4 because some option are no more present in the .app installer
Line 79 to 86
Check if installer is present
if [ -d /Users/Shared/Install\ macOS\ Sierra.app ]; then installerPresent="OK" /bin/echo "Installer present: OK - the installer is in /Users/Shared" else installerPresent="ERROR" /bin/echo "Installer present: ERROR - the installer is not in /Users/Shared" fi
Line 118 /bin/mkdir -p /usr/local/jamfps
Line 164 if [[ ${pwrStatus} == "OK" ]] && [[ ${spaceStatus} == "OK" ]] && [[ ${installerPresent} == "OK" ]]; then
Line 179 /Users/Shared/Install\ macOS\ Sierra.app/Contents/Resources/startosinstall --applicationpath /Users/Shared/Install\ macOS\ Sierra.app --agreetolicense --pidtosignal $jamfHelperPID &
On our side all is working with this workflow