Skip to content

ox-it/mac-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS X related scripts

Published by the Mac team at the University of Oxford IT Services.

The majority of the published content have been build with wider adoption in mind. However, as Oxford uses the Casper Suite it might require more work to adopt this to other management frameworks.

TOC

First Run (first-run)

Script to be run at first boot as part of the Casper Imaging FirstRun:

  • buildAtFirstRun108.sh: Script called after the first reboot of a freshly installed system. Runs all policies for system build in the right order using custom triggers.
Java Browser Plugin (java7-browser-plugin)

Scripts to manage (read disable) the Java 7 browser plug-in and check its status:

  • Java_7_Post_Install.sh: this post-installation script for the Oracle Java 7 installer disables by default the browser plug-in after each installation or update. It is also respects the status of the Java Web Plugin Master Switch. The script also creates a persistent convenience link for the Java version one might use to configure environment variables or use in scripts /Library/Java/JavaVirtualMachines/${VERSION}.
  • Java_7_Plugin_Version_and_Status-ExtAttr.sh:
  • Web_Java_Master_Switch.sh: self-service script to enable the end-user to control the status of the Java 7 browser plugin. This script could be made available in self service to all users or subgroups based on sophisticated scoping mechanisms. Please note that script requires cocaDialog.
Tivoli Storage Manager (tivoli-storage-manager)

Scripts to collect status information on a Tivoli Storage Manager client and backup status.

  • coming soon
Disk Partitioning (partitioning)

Two scripts to be added as pre and post script to Casper Imaging to create second volume for User data named LocalStorage and mounted to /Users.

  • partitionDisk2.pl: First part of the partitioning to create volumes (Macintosh HD, Recovery HD, LocalStorage for user data) before other Casper Imaging tasks. It uses only the first command line argument provided by Casper, the target volume mount point, and obtains other information from extension attributes in the computer's JSS record.
  • partitionDisk2Post.pl: Followup script to partitionDisk2.pl to be run after imaging, performing the following tasks: i) Resizes the Recovery volume on the target disk to the maximum (and original) size, as it may have been resized to 650MB by the OS X installer. ii) Creates an /etc/fstab file on the target volume to mount LocalStorage at the required location.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published