You can make a difference in the Apple Support Community!

When you sign up with your Apple ID, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Upgrade from Catalina to Big Sur from command-line?

How can I fully automate an upgrade from Catalina to Big Sur on our 300 Mac CI machines?


I already know that there is a manual way to upgrade to Big Sur using a GUI app (https://support.apple.com/en-us/HT201475).


I can download the "Install macOS Big Sur" application into the /Applications folder in an automated way, that's not a problem.


I can also even have the install begin and auto-accept the license, etc using this command:

sudo "/Applications/Install macOS Big Sur.app/Contents/Resources/startosinstall" --agreetolicense --forcequitapps --nointeraction


However, the processes that I care about (buildkite-agent) don't start automatically until I perform a login through the standard login screen over VNC. After logging in through VNC (using the above command) there is a flurry of activity for a couple minutes and then the computer is back working 100%


Unfortunately, a login with a standard SSH connection will work to kick off the rest of the post-upgrade (or mid-upgrade as it appears) work.

Posted on Jun 8, 2021 10:24 AM

Reply
4 replies

Upgrade from Catalina to Big Sur from command-line?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.