usr/src/cmd/auto-install/static_network.xml
changeset 1160 6f7e708c38ec
parent 1159 fbde90ccfae9
child 1161 5c1b6d445efc
equal deleted inserted replaced
1159:fbde90ccfae9 1160:6f7e708c38ec
     1 <!--
       
     2 CDDL HEADER START
       
     3 
       
     4 The contents of this file are subject to the terms of the
       
     5 Common Development and Distribution License (the "License").
       
     6 You may not use this file except in compliance with the License.
       
     7 
       
     8 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 or http://www.opensolaris.org/os/licensing.
       
    10 See the License for the specific language governing permissions
       
    11 and limitations under the License.
       
    12 
       
    13 When distributing Covered Code, include this CDDL HEADER in each
       
    14 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 If applicable, add the following below this CDDL HEADER, with the
       
    16 fields enclosed by brackets "[]" replaced with your own identifying
       
    17 information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 
       
    19 CDDL HEADER END
       
    20 
       
    21 Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
       
    22 -->
       
    23 
       
    24 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
       
    25 <service_bundle type="profile" name="system configuration">
       
    26     <service name="system/config" version="1" type="service">
       
    27         <instance name="default" enabled="true">
       
    28             <property_group name="user_account" type="application">
       
    29                 <propval name="login" type="astring" value="jack"/>
       
    30                 <propval name="password" type="astring" value="9Nd/cwBcNWFZg"/>
       
    31                 <propval name="description" type="astring" value="default_user"/>
       
    32                 <propval name="shell" type="astring" value="/usr/bin/bash"/>
       
    33                 <propval name="uid" type='count' value='101'/>
       
    34                 <propval name="gid" type='count' value='10'/>
       
    35                 <propval name="type" type="astring" value="normal"/>
       
    36                 <propval name="roles" type="astring" value="root"/>
       
    37             </property_group>
       
    38 
       
    39             <property_group name="root_account" type="application">
       
    40                 <propval name="password" type="astring" value="$5$VgppCOxA$ycFmYW4ObRRHhtsGEygDdexk5bugqgSiaSR9niNCouC"/>
       
    41                 <propval name="type" type="astring" value="role"/>
       
    42             </property_group>
       
    43 
       
    44             <property_group name="other_sc_params" type="application">
       
    45                 <propval name="timezone" type="astring" value="GMT"/>
       
    46                 <propval name="hostname" type="astring" value="solaris"/>
       
    47             </property_group>
       
    48         </instance>
       
    49     </service>
       
    50 
       
    51     <service name="system/console-login" version="1" type="service">
       
    52         <property_group name="ttymon" type="application">
       
    53             <propval name="terminal_type" type="astring" value="sun"/>
       
    54         </property_group>
       
    55     </service>
       
    56 
       
    57     <service name='system/keymap' version='1' type='service'>
       
    58         <instance name='default' enabled='true'>
       
    59             <property_group name='keymap' type='system'>
       
    60                 <propval name='layout' type='astring' value='US-English'/>
       
    61             </property_group>
       
    62         </instance>
       
    63     </service>
       
    64 
       
    65     <service name="network/physical" version="1" type="service">
       
    66         <instance name="nwam" enabled="false"/>
       
    67         <instance name="default" enabled="true"/>
       
    68     </service>
       
    69 
       
    70     <service name='network/install' version='1' type='service'>
       
    71         <instance name='default' enabled='true'>
       
    72             <property_group name='install_ipv4_interface' type='application'>
       
    73                 <propval name='name' type='astring' value='net0/v4'/>
       
    74                 <propval name='address_type' type='astring' value='static'/>
       
    75                 <propval name='static_address' type='net_address_v4' value='x.x.x.x/n'/>
       
    76                 <propval name='default_route' type='net_address_v4' value='x.x.x.x'/>
       
    77             </property_group>
       
    78 
       
    79             <property_group name='install_ipv6_interface' type='application'>
       
    80                 <propval name='name' type='astring' value='net0/v6'/>
       
    81                 <propval name='address_type' type='astring' value='addrconf'/>
       
    82                 <propval name='stateless' type='astring' value='yes'/>
       
    83                 <propval name='stateful' type='astring' value='yes'/>
       
    84             </property_group>
       
    85         </instance>
       
    86     </service>
       
    87 
       
    88     <service name='network/dns/install' version='1' type='service'>
       
    89         <instance name='default' enabled='true'>
       
    90             <property_group name='install_props' type='application'>
       
    91                 <property name='nameserver' type='net_address'>
       
    92                     <net_address_list>
       
    93                         <value_node value='x.x.x.x'/>
       
    94                     </net_address_list>
       
    95                 </property>
       
    96                 <property name='search' type='astring'>
       
    97                     <astring_list>
       
    98                         <value_node value='example.com'/>
       
    99                     </astring_list>
       
   100                 </property>
       
   101             </property_group>
       
   102         </instance>
       
   103     </service>
       
   104 
       
   105     <service name='network/dns/client' version='1' type='service'>
       
   106         <instance name='default' enabled='true'/>
       
   107     </service>
       
   108 </service_bundle>
       
   109