Posted on 04-14-2020 12:02 PM
Hi,
I am looking into doing remote OS upgrades. I have put Catalina as a Mac Store App into the JSS, which installs the stub installer fine but then it requires admin credentials to complete the install. Is there any workaround that I can use to trigger completion of the OS? Would it be possible to use the stub installer in a script?
Posted on 04-14-2020 12:47 PM
@ChrisTech Unless you're going to have the user initiate the install by running the Install macOS Catalina app themselves you really don't want to be using the App Store stub installer. You'd be better off using the macOSUpgrade workflow.
Posted on 04-14-2020 01:11 PM
We've used that in the past, but I guess the issue is now people are working from home and we will need to setup an external file distribution point for ~1200 machines to download an 8GB file, 1200 times. Normally they would be at their site where I have caching servers to do the heavy lifting.
Posted on 04-14-2020 01:50 PM
@ChrisTech One alternative you might try is that instead the policy that macOSUpgrade calls to download the installer doing that download from your DP, you could adopt the erase-install script to download the installer directly from Apple's servers. I've used that trick in the past, but you have to be aware that when Apple releases an update to macOS the old installer is normally removed from their servers at the same time.
Posted on 04-14-2020 06:11 PM
Whoa thanks @sdagley I am putting together something now that uses the installmacos.py script. Gamechanger. Wish I had known about it. Thanks for pointing me in the right direction.
Posted on 04-15-2020 07:34 AM
@ChrisTech You might find erase-install (ignore the name) a better starting point as its core is installinstallmacos.py, but it has the option to download the macOS installer and copy it into /Applications.
Posted on 04-15-2020 04:41 PM
After looking at it, that's what I did. I had to make a custom installinstallmacos.py to work on 10.12 and host it somewhere else. I was able to build a Self Service policy with the scripts and successfully upgraded a machine from home!
Posted on 04-16-2020 07:24 AM
Take a look in this thread is you haven't. Ther's a LOT of info here you can use to build your next upgrade policy. Also, https://www.jamf.com/blog/reinstall-a-clean-macos-with-one-button/