On Jun 18, 2009, at 9:21 AM, Dave Miner wrote: > Jack Schwartz wrote: >> Hi Alok. >> On 06/17/09 07:34, Alok Aggarwal wrote: >>> Hi Jack, >>> >>> On Tue, 16 Jun 2009, Jack Schwartz wrote: >>> >>>>> In the section on "When a SM is added after a service >>>>> creation", is this suggesting that the command used >>>>> to add the sysmap manifest (possibly installadm) will go >>>>> interactive? >>>> installadm already has an "add" command for adding criteria >>>> manifests to a service. (A sysmap manifest is the new name for a >>>> criteria manifest.) >>> Perhaps my question wasn't clear - there does exist >>> an installadm "add" command that isn't interactive, >>> I don't think. Is your proposal making that command >>> go interactive? >> Yes. It would prompt for confirmation. >> The command which designates an already-added manifest as the >> default can also prompt for confirmation. > > In order to allow usage in scripts, the command needs to provide an > option to avoid prompting.
Perhaps you could add the option, but be sneaky and make it so that if not isatty() it defaults to non-interactive? Or is that too sneaky? -- Shawn Walker