Posted on 10-31-2016 02:43 PM
Hi All,
I've followed guides and gotten tips from other Casper Admins. I'm now here; I cannot get the InstallESD file to cache correctly on a machine, and then get Self Service to install the OS correctly.
Any (already) created guides or tips would be appreciated.
Thanks
Posted on 10-31-2016 02:54 PM
I've been having better luck packaging and caching the entire Sierra installer (i.e. not dragging the naked installer into Admin, but building a pkg out of it first in Composer) and then calling;
/Applications/Install macOS Sierra.app/Contents/Resources/startosinstall --volume / --applicationpath /Applications/Install macOS Sierra.app --agreetolicense
as part of a policy scoped to clients who have cached the installer itself.
Posted on 10-31-2016 06:58 PM
Something fun to look at:
https://derflounder.wordpress.com/2015/11/23/providing-os-x-upgrades-via-caspers-self-service/
Posted on 11-01-2016 11:49 AM
Thank you both. Going to try both solutions.
Posted on 11-01-2016 03:13 PM
@dmac87 - I wrote something up not sure if it's helpful for you...http://sachinparmarblog.com/macos-sierra-deployment/
Posted on 11-01-2016 07:41 PM
Another resource: Take a look at this jamf knowledge base article, which also links to a technical paper on the same subject: [https://www.jamf.com/jamf-nation/articles/173/deploying-macos-v10-7-or-later-with-the-casper-suite](link URL)
Posted on 11-01-2016 11:32 PM
I second the derflounder the link. We're about to roll out Sierra using that blog post method.
Posted on 11-02-2016 07:15 AM
I'll third the derflounder link. It's working well for our Sierra upgrades.
Posted on 04-12-2017 01:16 PM
@psliequ - I am using a similar command through Self Service but every time I run it I get a pop-up saying that the restart was interrupted by Self Service. How are you getting around this? I have tried with and without the Restart option configured in the policy. I even tried putting in a delay in the command and configuring the restart option in the policy but that didn't seem to work. The policy did not consider the command as having finished until after the delay finished and then I got the same pop-up interruption.
I am just curious how you have this configured.
Posted on 04-12-2017 02:12 PM
Try putting an
&
at the end if it's being init'ed through Self Service. That should background the process and allow the app to quit cleanly. I think some of startosinstall's options have changed for 10.12.4 as well so double check the rest of the syntax.
Posted on 05-17-2017 10:19 AM
I get “/OS X Install Data is not a directory” when I try to use the steps from the derflounder link. Anyone have any suggestions?
Posted on 05-17-2017 12:25 PM
@nberanger That post was written I think when El Capitan came out. Things have changed a bit. The tool that he uses in that post doesn't work 100% how it used to: https://github.com/munki/createOSXinstallPkg
I have a blog post: https://babodee.wordpress.com/2017/03/14/another-method-for-macos-upgrades-via-the-jss-using-self-se... that covers the method I used but perhaps more importantly to you is that it has links to other methods/scripts that other admins have created/shared. It's in the first line of the post. Each of those highlighted words is a link. Hope one of those methods works for you.
Posted on 05-17-2017 12:27 PM
Thanks @bpavlov I'll check out your post.
Posted on 06-20-2017 05:34 PM
@nberanger which version are you trying to deploy. I know that anything Sierra a after .4 breaks. I have decided to just update with the OS installer up to 10.12.3 and then use combo updates until these things get fixed. so 1 profile to cache the installer, 1 profile to install the cached file, 1 profile to update to 10.12.5 using combo updates. its a pain but this way they dont break.
Also the Link that @bpavlov posted is pretty solid. just remember to use 10.12.3 or under
Posted on 06-21-2017 02:38 AM
@jtaveras wrote:
@nberanger which version are you trying to deploy. I know that anything Sierra a after .4 breaks. I have decided to just update with the OS installer up to 10.12.3 and then use combo updates until these things get fixed. so 1 profile to cache the installer, 1 profile to install the cached file, 1 profile to update to 10.12.5 using combo updates. its a pain but this way they dont break. Also the Link that @bpavlov posted is pretty solid. just remember to use 10.12.3 or under
That's what we're doing as well. Wish our respected community gurus didn't have to put so much time and effort into rebuilding this wheel each time an upgrade is released.
Posted on 06-22-2017 06:35 AM
@nberanger which version are you trying to deploy. I know that anything Sierra a after .4 breaks. I have decided to just update with the OS installer up to 10.12.3 and then use combo updates until these things get fixed. so 1 profile to cache the installer, 1 profile to install the cached file, 1 profile to update to 10.12.5 using combo updates. its a pain but this way they dont break. Also the Link that @bpavlov posted is pretty solid. just remember to use 10.12.3 or under
I was using 10.12.4, so I guess that explains it. I'll look into the combo update route you have been using.
Thanks!
Posted on 06-22-2017 06:37 AM
@nberanger which version are you trying to deploy. I know that anything Sierra a after .4 breaks. I have decided to just update with the OS installer up to 10.12.3 and then use combo updates until these things get fixed. so 1 profile to cache the installer, 1 profile to install the cached file, 1 profile to update to 10.12.5 using combo updates. its a pain but this way they dont break. Also the Link that @bpavlov posted is pretty solid. just remember to use 10.12.3 or under
I was using 10.12.4, so I guess that explains it. I'll look into the combo update route you have been using.
Thanks!