You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,13 +143,14 @@ Works with the built in `softwareupdate` command and your MDM to facilitate the
143
143
144
144
* Wait Condition Monitoring (similar to the Wait command documented below), including whether the SUS is available.
145
145
* Can trigger a Jamf policy for the installation of updates rather than using `softwareupdate`
146
-
* Can trigger a Jamf policy for the restart of a system, rather than using `softwareupdate` or `shutdown`.
147
146
* Returns a non-zero exit code when a lack of disk space prevents installations.
148
147
* Allows for Json output.
149
148
* Can provide a simple count of updates to install.
150
149
* Can provide a summary of relevant information to performing updates.
151
150
* If running `softwareupdate` without user authentication is prevented, opens the Software Update Preference pane for the console user.
152
151
152
+
IMPORTANT NOTE: This command currently requires the `at` daemon for restart functionality.
153
+
153
154
### Installations (--install)
154
155
155
156
**Apple Silicon Macs**
@@ -160,8 +161,6 @@ If the computer is using Apple Silicon, the Software Update preference pane is o
160
161
161
162
If the `install-policy` option is provided, the Jamf Policy is used instead of running `softwareupdate` for the installations, otherwise the `softwareupdate` binary is utilized. When using the `softwareupdate` binary, all non-restart updates are installed individually, then any updates requiring a restart are installed in a batch. This allows us to provide the maximum amount of feedback on the success or failure of updates installed.
162
163
163
-
If the `restart-policy` option is provided, the Jamf Policy is sued instead of running `shutdown` for updates that require a restart or halt. This allows for an authenticated restart on FileVault 2 enabled Macs. If the `restart-policy` option is not provided, the `shutdown` binary is used to restart or halt the computer as needed for the updates that were installed.
164
-
165
164
|Flags | Purpose |
166
165
|--|--|
167
166
| install | Installs available updates |
@@ -176,7 +175,6 @@ If the `restart-policy` option is provided, the Jamf Policy is sued instead of r
176
175
| skip-screen | Do not wait for screen availability |
177
176
| wait | The number of seconds to wait for wait conditions. Defaults to 60 seconds. |
178
177
| install-policy | The trigger or ID for a Jamf Pro policy that installs updates using the Software Update payload. |
179
-
| restart-policy | The trigger or ID for a Jamf Pro policy with no payload that forces a FileVault 2 authenticated restart. |
180
178
| json | Show any output in JSON format. |
181
179
| timeout | The amount of time in seconds that is allowed for any one `softwareupdate` command to complete. Defaults to 7200 seconds (2 hours)
0 commit comments