HI All,
Hoping someone might be able to point me in the right direction……there is a little bit of a story to our imaging and we need to move towards a DEP automated deployment, so here is what I do now, and what I had hoped for, and what I have tried to do.
what we do now for Lab deployment:
simple boot casper imaging, pycreateuserpkjg autologin, script ran while tempavccount is logged in to, set time server, time zone, create local admin account, lock screen (lockscreen.app), flush policies, call policies through JSS, AD binding (name done through Casper IMaging), delete temop account and restart
this works fine
now with 10.13.4 coming and new iMac Pro hardware, I need to try to get DEP working with a labs build, so this means no naming and no script forced through casper imaging on boot
so here is what I would like to see
DEP process going through a few steps of the startup process and accepting DEP enrolment, this is where user input stops, machine gets all of the policies to install apps, named correctly, AD login, time server etc, add to correct static groups, reboot at login window for students ready for next day
what I have tried……
DEP startup, accept MDM enrolment, only 1 script on enrolment complete which runs the policies as we are doing now but this will fail after mdm acceptance
or
DEP startup, accept MDM enrolment, only 1 script on enrolment complete which creates launch Daemon and script then reboot. reboot happens, runs script to install policies.
This hangs directly after accepting MDM enrolment
Tried, adding the pycreateuserpkg, but as I have a profile which disabled autologin, this does not work either
Thought about just going back to the old way of just putting a second policy for all apps based on the enrolment complete but this is time consuming and requires updates for both policies, not only that, but it is not very reliable with some pkgs just not installing
Then I could just scope to smart group to say if this is not installed then install it, but again, very time consuming for the 40-50 apps for lab machines
So I know it was a long story but if anyone has any ideas on how they would do this nicely through DEP any help would be great
