Skip to main content

Mac OS X "SOE" Day 1

Page Redirection Getting Started on this today, goal is to build a set of easily customisable scripts that will allow me to; build a MASTER SOE image (one image that will work for all models), easily update the image.

*** TARGET - a mac that is booted in TARGET DISK mode, also the mac that I am using to capture a DMG image.

Thinking of starting as follows.

1. Boot a TARGET mac from an Apple USB Recovery disk.
2. Install 10.7.3
3. Reboot into TARGET DISK mode.
4. Capture a "vanilla" FMG for use later.
5. Drop a set of scripts onto the TARGET DISK that I can use in single user mode.
6. Boot into single user mode, run the scripts.
7. Reboot into TARGET DISK mode.
8. Capture the standard SOE.

For the scripts I mention in step 5 I am planning to have 3 phases; single user scripts (a.k.a "build" scripts), "first boot" scripts and "localiser" scripts.

"build" scripts (at a minimum);
- enable root, set root password
- create local admin account(s)
- disable registration
- disable setup wizard
- enable ssh access
- disable software update schedule
- enable access for assisted devices
- modify the default prefs in the system user templates
- cleanup redundant files, ie, swap, sleep image, Alex Voices.

"first boot" scripts (primarily used for scripts and settings that can't be run in single user mode);
- Name workstation, HostName, hostname, ComputerName, LocalHostName for identification whilst in localisation phase (renaming to SERIAL-MACADDRESS)
- Energy Saver defaults (so it doesn't go to sleep in the localisation phase).
- Order Network Interfaces
- Disable un-necessary Network Interfaces (Bluetooth, FireWire)
- Disable IPv6 (don't use it yet and can cause some AD binding bugs)
- Disable Airport power (where applicable)
- modify the default prefs in the system user templates where the pref is a byhost (contains a UUID In the file name)
- activate ARD

"localisation" script (at a minimum);
- Name workstation, HostName, hostname, ComputerName, LocalHostName
- Set the language
- Set the "locale"
- Set the country
- Set the keyboard input
- Set the measurement units
- Set the time zone.
- Set the time server
- Set the NIC speed
- Set a LoginHook
- Bind to a directory service
- Setup software deployment/management

Stay tuned...

Popular posts from this blog

Mac OS X "SOE" Day 7

Page Redirection> continued from day 6...

In summary, here is my method for creating a Mac OS X 10.7.3 Standard Operating Environment "SOE" Image.

Overview The goal is to create a "MASTER" non-booted SOE that can be used with multiple models and it multiple sites with different local requirements.

My intention is to use this "MASTER" image in a manual restore procedure due to the fact netboot facilities cannot be made available to all the sites I support however the DMG files are netboot compatible.

RequirementsLion Recovery Disk Assistant v1.0"TARGET" workstation. A compatible workstation that will be used to install Mac OS X 10.7.3 and capture a DMG image(s)."ADMIN" workstation. A workstation with Disk Utility that you will use to capture your DMG image(s).External storage such as a USB HARD DISK. SetupDownloaded the Lion Recovery Disk Assistant v1.0 and followed the instructions to setup an external Recovery D…

TFTP on Mac OS X 10.7 shell script

I've just started getting into Cisco support a little more. It's my goal to eventually specialise (its probably the first time I've found something in I.T. support that I don't eventually get bored with ). Since I've got about 1 of each OS I need make sure I can perform my job on anything. Was working on my macbook pro and needed to download some router configs. Give tftp a kick on Mac OS X 10.7 #!/bin/bash #* #+ A quick script to enable/disable tftp (for use with cisco devices). #+ Usage: on NO_ARGS=0 if [ $# -eq "$NO_ARGS" ] # no arguments? then /bin/echo "Disabling tftp." #+ Always unload, just to be on the safe side. sudo launchctl unload -w /System/Library/LaunchDaemons/tftp.plist #+ Cleanup any files so they aren't floating around ;) /bin/echo "Removing default tftp files." sudo /bin/rm -f /private/tftpboot/running-config sudo /bin/rm -f /private/tftpboot/startup-config sudo /bin/rm -f /private/tft…