I have a bunch of sweet iMacs of the SSD + HD variety, and in a lab environment (and for space and other usability reasons) - I've done some testing with symlinking the entire "Users" folder to the "traditional" HD, leaving the boot as SSD. Everything appears to work pretty darn good and very speedy.
Problem is - I'd like to invite this into the imaging process in some sort of automated fashion. So.. the background
- Imaging with homegrown NetBoot (10.7.3)
- Destination is Lion as well.
- Using a non-configured base install (I call it a 'nekkid' install, no mods)
Now - I know I could bake something into a PKG to do this when applying the base install, but that's not very scalable as a I have many users who don't need this (why make 2 base installs when one nekkid one works fine?)
So... what I do is a basic shell script -- that is not my problem.
My problem is that the 3 options I have for scripting are a) before the base install, b) after I've installed everything on before reboot, and c) after reboot.
I can't do before -- because there is no OS on the destination yet, and I can't do after reboot, because a live system doesn't like it's "Users" and "Shared" folder messed with. Therefore, the choice is after --
OK -- BUT.. I'm in netboot.. so a standard shell script fails because it has no idea which binary to run of off and I get the "bad interpreter" error. #!/bin/sh -- unhappy in netboot.
A final note -- WHY symlink that USERS folder? -- think of a lab -- many different users whom I can't predict, I need not only all current users on the system, but all future users to go to the same place (AD users -- then set mobility expiry to zero -- boom -- a typical lab).
So... am I even thinking about this the right way? Right now, I tell Casper Imaging not to reboot and I conflated the whole script into a single line command and run it manually, but I would much prefer to have this setup as it own configuration.
Am I making much sense here?