Changing System Preferences
I am trying to change certain system preferences in my image but when I it runs the postflight script for that package it seems to make those changes on the machine that I am creating the image and not the image itself. I have searched to find what I need in front of my commands to make those changes on image but have been unsuccessful. Here are two examples of some commands I want to change in system preferences:
#Turn On SSH
systemsetup -setremotelogin on
#Turn off Sleep
systemsetup -setsleep never
---
-Any help would be appreciated