mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
* set -e and fix all the scripts * add source utils to finalize_vm script * change xcode version in postbuild script * fix for softwareupdates and for xcode version
8 lines
357 B
Bash
Executable File
8 lines
357 B
Bash
Executable File
#!/bin/bash -e -o pipefail
|
|
|
|
# Disabling automatic updates
|
|
sudo softwareupdate --schedule off
|
|
defaults write com.apple.SoftwareUpdate AutomaticDownload -int 0
|
|
defaults write com.apple.SoftwareUpdate CriticalUpdateInstall -int 0
|
|
defaults write com.apple.commerce AutoUpdate -bool false
|
|
defaults write com.apple.SoftwareUpdate AutomaticCheckEnabled -bool false |