Hello, I use a customized AI environment which allows for begin and finish scripts to be run via SMF services. One of the functions of a begin script would be to wipe the root disk of any existing partitions before the installer starts. However, the problem is that the script would need to be able to pick the right disk if the disk isn't explicitly specified in the manifest.
It would be nice to have a cli utility which would utilize the same code (library) as the installer, in order to report which disk the installer will use. So with the intention of taking a stab at writing this utility, I was wondering how abstracted the disk-determination code is. Perhaps someone familiar with that logic could say if it would be feasible to wrap it in a simple cli utility. Thanks --Jens