Hi Jan, On 12/02/09 05:56, Jan Damborsky wrote: > Hi Jens, > > > Jens Deppe wrote: >> 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. > > I think this particular feature is planned to be supported via AI > manifest - > it seems that bug 6488 covers that requirement. > >> 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. > > I have been touching that code recently and that logic is not > separated into library which could be consumed and exercised > by means of cli test driver, but is part of auto-install monolith > instead. This deficiency is planned to be improved by CUD effort > (see Sarah's email sent out yesterday for more details). > > That said, would fixing 6488 solve the issue you are encountering > or is the problem more complex ?
Yes, 6488 would solve this problem. However there may well still be a need to manipulate the root disk before installation starts. Another use case is the creation and setup of partitions which the installer does not support. --Jens