Posted on 02-21-2018 12:13 PM
Hey,
Trying to do a "base image" of 10.13 using the new AutoDMG. Everything installs correctly (the laptops all had High Sierra already) but the .PKG files I drag into AutoDMG before building the image do not seem to install along with the OS when I image the laptops. I was hoping to include Office '16 as well as a CreateAdminUser.PKG to prepare for enrollments. Do you have to have the .pkgs in a particular location prior to dragging them into AutoDMG ?
Posted on 02-21-2018 01:03 PM
This might not work with 10.13, not sure. So many things we used to be able to do with 10.12 and lower simply don't work anymore for High Sierra, so that might be the issue. I know I've been able to build a 10.12.6 image that included our Microsoft Office 2016 VL install, and one to create the local admin account. So it works on 10.12. I have not tried the same with 10.13 though.
Posted on 02-21-2018 02:43 PM
@al786 CreateAdminUser.PKG no longer works with 10.13. Here is pycreateuserpkg by Greg with a write up by Rich. A workflow I am using which will work for both Munki/Jamf is Greg's bootstrappr and Rich's First-boot-package-install-generator. It works for current hardware restoring .dmgs and will work with the new T2 Hardware (until Apple releases a solution)
Posted on 02-22-2018 05:07 AM
Thanks! But how about the other installers? I've tried free .PKG installers like for Slack etc.. and none of my .PKG files seem to install when I build with AutoDMG.
Posted on 02-23-2018 04:08 AM
@al786 From what I've read you are not alone. Haven't used autodmg lately, but you may want to try the #autodmg channel in macadmins slack.
Posted on 03-09-2018 09:29 AM
Thanks for the suggestions, turns out I was able to find an imaging solution. As long as the Mac already has 10.13 (which many do for us) - most of the Macs we get are either stock with 10.13 or I need to re-image our loaner machines.
I used Auto DMG to make an apfs.dmg and dragged a bunch of packages I made with composer (I set them to install to /users/shared) and I made one package with the "first boot installer" app to create our local admin account.
Instead of the actually drive/partition I used diskutil to find the "container" path of the Macs that are connected via target disk mode and thunderbolt cable-
sudo asr restore --source /path/to/our/AutoDmg1013Image.dmg --target /dev/disk3 --erase --noprompt --noverify
-they image in about 45-60 seconds and then I just run quick add from /users/shared .