How to remove all LDOM configuration from a Solaris box.

 If you have configured a host with LDOMs and are no longer using them you may have some configuration left in the hypervisor. The easiest way to get rid of this is to do a factory defaults reset of the configuration. This is done by:
 
 
sc> poweroff
sc> bootmode config="factory-default"
sc> poweron