Configure System Preferences machine settings. More information: https://ss64.com/osx/systemsetup.html.
systemsetup -setremotelogin on
systemsetup -settimezone "{{US/Pacific}}" -setnetworktimeserver {{us.pool.ntp.org}} -setusingnetworktime on
systemsetup -setsleep off -setrestartpowerfailure on -setrestartfreeze on
systemsetup -liststartupdisks
systemsetup -setstartupdisk {{path}}