Kyle,

Got it! You need the type for the property group ttymon.
I attached the profile for your convenience.

Antonello
Yeah, I named the file bug0.xml ;-)

Kyle McDonald wrote:
> 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
> 
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org
_______________________________________________
smf-discuss mailing list
smf-discuss at opensolaris.org
_______________________________________________
smf-discuss mailing list
smf-discuss at opensolaris.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug0.xml
Type: text/xml
Size: 592 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20090928/589be85b/attachment.xml>

Reply via email to