Hi Jan, Please see comments inline:
jan damborsky wrote: > > yes, '-s' is mandatory - it is mentioned later in man page, > but it seems to be marked incorrectly in 'usage' section. > > There is a bug filed for tracking these issues: > > 5553 required parameters are marked as optional in installadm(1M) man > page > > It seems that the one you noticed is not mentioned in bug report - > could you please capture it there ? > I added a comment in #5553 > > Actually, for x86, install service is not bound to the particular image - > those are independent. > > * install image determines the environment used for the installation, > * install service provides client with the locations where to ask > for installation configuration. > > For example, you could have bunch of clients you would like > to install with 106 and you need to use 106 AI image as > installation environment for all of them. > > But you could have per client requirements where > to search for install configuration files. I wasn't aware of that. I took a quick look at the man pages and couldn't find this documented though. I'll check again later and file a bug to capture this. > >> Then shouldn't it be enough to specify the service name when we >> create a new client? >> Given that a service can't have more than 1 targetdir related to it, >> why do we need the option '-t imagepath'? > > Since install service is not bounded to AI image, you can specify > that you would like to use the same install service for clients > you would like to install using different AI images. I agree with > you that this possibility is not quite obvious, since you probably > can't create just AI image without creating new install service. > > I can see this might be useful for testing purposes (like making > sure that different images lead to the same installed bits for > regression tests), not sure if there might be other use cases. > Maybe it would be interesting to implement this as an optional argument so by default it'll take the installation configuration from the target-dir set in create-service? In conjunction with a detailed description in the documentation this would be a feature used only if someone wants to specifically set a different configuration for a particular client. Thanks, David
