This is the repo where we manage all the admin scripts that the student computers use. This includes:
- system restore scripts
- nightly app settings resets
- nightly repo fetches
- GCA bash function
You should only need to do this when creating a new disk image. You
must complete all the previous steps from the workstation image
spec or workstation-admin will cache an old
version of the settings and overwrite your changes in the first night.
Apple has an important security measure called System Integrity
Protection that prevents certain changes to system files even in
root mode. This unfortunately interferes with the admin install
scripts. However, it does not interfere with everyday operation, so you
only need to do this on the machine where you create the workstation
image.
- Restart the machine in recovery mode (hold down ⌘R).
- Click on the Utilities menu and choose Terminal.
- Enter the command
csrutil disable. This will disable SIP. - Restart the machine again.
Follow the procedure for setting up our computer environment from the curriculum.
git clone https://github.com/appacademy/workstations.git ~/.workstation-admin
This will add the extra packages and configuration needed to for this repo to work properly.
setup/install
- Clear all browsing data from "the beginning of time".
- Quit (⌘Q)
Quit (⌘Q)
setup/cache_app_data