When done properly, this "completes" the policy and allows it to submit a policy log, and about ~1 minute later the OS installation kicks in. When it runs it will call your script or command line to run the OS installation. Essentially, have a script run as part of the policy that creates a LaunchDaemon with a delayed start time. While the focus on that thread is for a very different scenario, the same principle can be used. While I do agree with about submitting a report to Apple to have them change the behavior, or perhaps add an additional flag that allows for an interactive "reboot" prompt if needed, in the interim, take a look through this thread: I think that an executable shell script with everything in it would do the trick, but I'm wondering if any more savvy folks out there could help me get there a bit quicker.Īny assistance would be greatly appreciated. I've tried scripting this (osascript command, a shell script, and executable AppleScript), but I'll confess I only ever script out of necessity and that isn't too often. My hang up is that after running my command the Terminal is prompted for the license agreement, where you have to type "a" and then the "return" key. It will kick off the installer, and upgrade a 10.10 system. Sudo /private/tmp/Install OS X El Capitan.app/Contents/Resources/startosinstall -applicationpath /private/tmp/Install OS X El Capitan.app -volume / private/tmp/Install OS X El Capitan.app/Contents/Resources/startosinstall I found that if I call this Unix Executable: I've created a package in Composer that installs the "Install OS X El Capitan.app" into the tmp folder. I'm wondering if any one has tried this/figured out if this is possible, I been trying, and I can't quite get over the hump. I'm attempting to kick off an upgrade of OS 10.11, and the way I'm going about seems to allow me to do it automatically, if I can just get a script to pass 2 keystrokes to kick off the installer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |