Hi all, we're looking at the possibility of having a script to convert an APFS drive to HFS+ before the block copy begins
We're having no luck with DEP, and the issues around account creation/authenticating, so I'm trying to figure this out.
I've got the following
#!/bin/sh
diskutil apfs deleteContainer /dev/disk0s2
diskutil eraseDisk JHFS+ "Nuked" /dev/disk0
echo | diskutil info disk0s2
When we type it by hand (in the 10.13 netboot environment) it works, but having it run as the first step in the configuration doesn't reformat it
Any ideas?
Running JSS 9.101
Target machine on 10.13, APFS
