Hello. I know this post is a little old, but I am new to the InstaDMG idea and have it working well with DeployStudio in a fully automated restore. The only issues I have are all within this thread: Setting the Time Zone, Activating ARD and SSH, and enabling root. I would love to have all this automated to fully complete my deployment scheme but am not savvy with the programming part or what shell to use. Has anyone come up with a solution to these issues that can be placed in one file or package?
Here’s what I have so far:
/usr/sbin/systemsetup -settimezone America/New_York
/System/Library/CoreServices/RemoteMangement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users admin -privs all -restart -agent -menu
dsenableroot -u admin -p ***** -r *******
For the SSH, I’m sure there is a way to remove the following from the /System/Library/LaunchDaemons/ssh.plist:
Disbaled
Is there a way to package all this into a launch daemon to run on first boot or login and then delete itself? That would be most desirable I would imagine.
Thanks for any help. It is MUCH appreciated!!! 😀
Recent Comments