Kyle McDonald wrote:
> Hi Tony,
>
> I've read through the bug, and several docs, however I can't find an 
> example of how to do this.
>
> I'm trying to set the terminal type (ttymon/terminal_type) and serial 
> label (ttymon/label) properties for the console login 
> (svc:/system/console-login:default) service in a site.xml file.
>
> Is this possible?
>
> Can you give (or point me to) an example?
>
I tried something like this:

> <?xml version='1.0'?>
> <!DOCTYPE service_bundle SYSTEM 
> '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
> <!--
> -->
> <service_bundle type='profile' name='site' 
> xmlns:xi='http://www.w3.org/2003/XInclude' >
>
>   <!--
>     Site Service Profile common to all installations.
>   -->
>
>   <!--
>       Local Services
>   -->
>   <service name='system/console-login' version='1' type='service'>
>     <property_group name='ttymon'>
>       <propval name='terminal_type' value='xterm' />
>     </property_group>
>     <instance name='default' enabled='true'/>
>   </service>
>
> </service_bundle>
And ran 'svccfg apply site2.xml'. It dumped core. :(

Anyone have any ideas?

  -Kyle

Reply via email to