|
1 <?xml version='1.0'?> |
|
2 <!-- |
|
3 CDDL HEADER START |
|
4 |
|
5 The contents of this file are subject to the terms of the |
|
6 Common Development and Distribution License (the "License"). |
|
7 You may not use this file except in compliance with the License. |
|
8 |
|
9 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
10 or http://www.opensolaris.org/os/licensing. |
|
11 See the License for the specific language governing permissions |
|
12 and limitations under the License. |
|
13 |
|
14 When distributing Covered Code, include this CDDL HEADER in each |
|
15 file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
16 If applicable, add the following below this CDDL HEADER, with the |
|
17 fields enclosed by brackets "[]" replaced with your own identifying |
|
18 information: Portions Copyright [yyyy] [name of copyright owner] |
|
19 |
|
20 CDDL HEADER END |
|
21 |
|
22 Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
|
23 --> |
|
24 |
|
25 <!-- |
|
26 Sample system configuration profile for use with Automated Installer |
|
27 |
|
28 Configures the following: |
|
29 * User account name 'jack', password 'jack', GID 10, UID 101, root role, bash shell |
|
30 * 'root' role with password 'solaris' |
|
31 * Keyboard mappings set to US-English |
|
32 * Network configuration is automated with Network Auto-magic |
|
33 * DNS name service client is enabled |
|
34 |
|
35 See installadm(1M) for usage of 'create-profile' subcommand. |
|
36 --> |
|
37 |
|
38 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> |
|
39 <service_bundle type="profile" name="system configuration"> |
|
40 <service name="system/config" version="1"> |
|
41 <instance name="default" enabled="true"> |
|
42 <property_group name="user_account"> |
|
43 <propval name="login" value="jack"/> |
|
44 <propval name="password" value="9Nd/cwBcNWFZg"/> |
|
45 <propval name="description" value="default_user"/> |
|
46 <propval name="shell" value="/usr/bin/bash"/> |
|
47 <propval name="gid" value='10'/> |
|
48 <propval name="type" value="normal"/> |
|
49 <propval name="roles" value="root"/> |
|
50 <propval name="profiles" value="System Administrator"/> |
|
51 </property_group> |
|
52 <property_group name="root_account"> |
|
53 <propval name="password" value="$5$dnRfcZse$Hx4aBQ161Uvn9ZxJFKMdRiy8tCf4gMT2s2rtkFba2y4"/> |
|
54 <propval name="type" value="role"/> |
|
55 </property_group> |
|
56 </instance> |
|
57 </service> |
|
58 |
|
59 <service version="1" name="system/identity"> |
|
60 <instance enabled="true" name="node"> |
|
61 <property_group name="config"> |
|
62 <propval name="nodename" value="solaris"/> |
|
63 </property_group> |
|
64 </instance> |
|
65 </service> |
|
66 |
|
67 <service name="system/console-login" version="1"> |
|
68 <property_group name="ttymon"> |
|
69 <propval name="terminal_type" value="sun"/> |
|
70 </property_group> |
|
71 </service> |
|
72 |
|
73 <service name='system/keymap' version='1'> |
|
74 <instance name='default' enabled='true'> |
|
75 <property_group name='keymap'> |
|
76 <propval name='layout' value='US-English'/> |
|
77 </property_group> |
|
78 </instance> |
|
79 </service> |
|
80 |
|
81 <service name="network/physical" version="1"> |
|
82 <instance name="nwam" enabled="true"/> |
|
83 <instance name="default" enabled="false"/> |
|
84 </service> |
|
85 |
|
86 <service name='network/dns/client' version='1'> |
|
87 <instance name='default' enabled='true'/> |
|
88 </service> |
|
89 </service_bundle> |