I was looking for a way to copy / clone / duplicate an instance of svc:network/dns/server:default for testing and was surprised by the lack of a svccfg subcommands for this purpose.
> You can specify shared configuration on the service > in the manifest, and > just create an instance via a set of svccfg commands > when you're ready to > set it up. > > svccfg -s <my service> add <new instance name> > svccfg -s <service>:<instance> addpg general > framework > svccfg -s <service>:<instance> setprop > general/enabled = boolean: false > (anything else you need to do) > svcadm enable service:instance Ideally the output from one instance could be used as input to create the new instance: See Ilya Voronin's blog http://ivoronin.blogspot.com/2006/06/managing-instances-within-smf.html As an alternative to piping the output directly back to svccfg as Ilya does redirect the output to a file to make minor alerations and then use svccfg '-f' option. svccfg -s <service>:<instance> -f <filename> Stace This message posted from opensolaris.org