I'm trying to securely erase a drive and rename it to "Macintosh HD" using "diskutil partitionDisk" in a script that Casper Imaging runs before applying an image. However I'm running into an issue in the case that the disk is not already named "Macintosh HD". Casper continues as if there is no problem, but the rest of the imaging process does not have any effect to the target drive. Is there a way to do this in a configuration for Casper Imaging?
Question
Trying to securely erase a drive before applying an image
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
