Trigger cached SUS updates at reboot possible? (Was: "software update redux (last question on this)")

donmontalvo
Esteemed Contributor III

(I didn't want to jijack Tom's thread, so splitting this off to a separate thread. I hope it doesn't nestle under Tom's thread, if so my apologies. Don)

We actually have this on our to-do list. Once we upgrade the Xserves in one of our client shops (they're 1st generation Intel), we will be cascading the old Xserves to repurpose for SUS. Daisy chain, etc.

That said, somewhat related to Tom's post...is there a way to trigger Software Update to kick in when a person reboots? Like it's done in the Wintel environment. You know, a person gets a prompt, something like "Software updates available - please reboot to install". The user triggers a reboot, and the updates install, followed by an automagic reboot.

Does this sound like something that Casper can manage?

Don

--
https://donmontalvo.com
4 REPLIES 4

clifhirtle
Contributor II

Don: I'm looking at better ways of installing our Apple SW Update as well, particularly in the realm of those that require restarts. Did you ever get an answer on this? The Casper trigger to run softwareupdate @ restart merely starts the process of download/install, which then forces the user to restart later anyway, which does not help us much.

bentoms
Release Candidate Programs Tester

@ Clif... The JAMF binary basically runs:

sudo softwareupdate -ia

This checks for available updates from SUS & downloading any that are needed & installing any that are downloaded.

I tried manually installing the updates in /Library/Updates to no avail. :(

Looks like we may need to install when someone is logged in & then prompt to restart.

clifhirtle
Contributor II

@Ben: Ya that basic command line argument with limited/no GUI/progress is what I am trying to find the best workaround for. Many ideas posted around forums, from custom scripts/dialogs to root'd Mac App Stores. I replied here because it seemed Don was looking at a similar framework of installing at reboot like our Windows machines, which I have not yet seen a tool for.

I'm leery on enabling auto updates via Casper/CLI softwareupdate until I know worst case scenario when users reboot in the middle of firmware updates or in-process installs behind the scenes.

bentoms
Release Candidate Programs Tester

I'm going to install apple updates & if a restart is needed create an Dummy receipt that nags the user to restart.

Non-apple updates I'll cache & install @ logout.