munki / macadmin-scripts

Scripts of possible interest to macOS admins
Other
2.33k stars 523 forks source link

Upgrade MacOS behaviour #30

Closed l4zaro closed 5 years ago

l4zaro commented 5 years ago

Hi, I'm looking for a script that will upgrade a MacOS 10.13 to 10.14 through ssh.

Does "installinstallmacos.py" script allows me to do so?

According to the Documentation sounds like it will be a clean installation. (which I'm afraid of). "The tool assembles "Install macOS" applications by downloading the packages from Apple's softwareupdate servers and then installing them into a new empty disk image."

I currently don't have a MacOS machine to run the script and check the "--help" for clarification. Could you confirm if I can do an "only-upgrade" without losing my current files?

Thanks in advance,

FaffeF commented 5 years ago

softwareupdate -ia --verbose

l4zaro commented 5 years ago

Hi @FaffeF thanks for your answer. Unfortunately as far as I'm aware that only updates to the latest version of the MacOS I'm in. (eg: from 10.13.1 to 10.13.6).

My goal is to upgrade from 10.13.X to 10.14.X

FaffeF commented 5 years ago

Yeah, sorry. Should be able to next time though, using --fetch-full-installer that's new to Catalina.

l4zaro commented 5 years ago

You can close the issue, I could create the .dmg mount and install from there. Works like a charm, thanks a lot