Posted on 11-08-2018 08:35 AM
I am trying to make a simple package for OS upgrade (to Mojave) I found some stuff saying that I just download the installer from appstore and create a pkg with composer.
I have done that, and I can also run the package but nothing more happens afterwards - also not if I restart
I must be missing some kind of step ? -
Posted on 11-08-2018 08:37 AM
this will do the trick
#!/bin/bash
#upgrade to mojave from high sierra with installer path
sudo /PATH/TO/Install macOS Mojave.app/Contents/Resources/startosinstall --agreetolicense --nointeraction
make that a script in your jss, create a policy and push it to machines that have the installer deployed via your package
also check out kc9wwhs script - https://github.com/kc9wwh/macOSUpgrade/blob/master/macOSUpgrade.sh
Posted on 11-08-2018 09:05 AM
Arh
Of course - I have seen these
Parameters before.
Thank you
Posted on 11-09-2018 02:03 AM
What happens actually if a mac is already running latest version - will it overwrite it again or will it cancel ?
#!/bin/bash
#upgrade to mojave from high sierra with installer path
sudo /PATH/TO/Install macOS Mojave.app/Contents/Resources/startosinstall --agreetolicense --nointeraction
Is there any option to build in some kind of notification, saying that the upgrade will happen
Posted on 11-09-2018 07:53 AM
@jameson Give https://github.com/kc9wwh/macOSUpgrade/blob/master/macOSUpgrade.sh a look it may answer your questions.