usr/src/cmd/auto-install/profile/sc_sample.xml
changeset 1160 6f7e708c38ec
parent 1098 c70e5a658299
child 1178 bb89a62910e7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/cmd/auto-install/profile/sc_sample.xml	Tue May 31 14:21:09 2011 -0700
@@ -0,0 +1,89 @@
+<?xml version='1.0'?>
+<!--
+CDDL HEADER START
+
+The contents of this file are subject to the terms of the
+Common Development and Distribution License (the "License").
+You may not use this file except in compliance with the License.
+
+You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+or http://www.opensolaris.org/os/licensing.
+See the License for the specific language governing permissions
+and limitations under the License.
+
+When distributing Covered Code, include this CDDL HEADER in each
+file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+If applicable, add the following below this CDDL HEADER, with the
+fields enclosed by brackets "[]" replaced with your own identifying
+information: Portions Copyright [yyyy] [name of copyright owner]
+
+CDDL HEADER END
+
+Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+-->
+
+<!--
+Sample system configuration profile for use with Automated Installer
+
+Configures the following:
+* User account name 'jack', password 'jack', GID 10, UID 101, root role, bash shell
+* 'root' role with password 'solaris'
+* Keyboard mappings set to US-English
+* Network configuration is automated with Network Auto-magic
+* DNS name service client is enabled
+
+See installadm(1M) for usage of 'create-profile' subcommand.
+-->
+
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<service_bundle type="profile" name="system configuration">
+    <service name="system/config" version="1">
+      <instance name="default" enabled="true">
+        <property_group name="user_account">
+          <propval name="login" value="jack"/>
+          <propval name="password" value="9Nd/cwBcNWFZg"/>
+          <propval name="description" value="default_user"/>
+          <propval name="shell" value="/usr/bin/bash"/>
+          <propval name="gid" value='10'/>
+          <propval name="type" value="normal"/>
+          <propval name="roles" value="root"/>
+          <propval name="profiles" value="System Administrator"/>
+        </property_group>
+        <property_group name="root_account">
+            <propval name="password" value="$5$dnRfcZse$Hx4aBQ161Uvn9ZxJFKMdRiy8tCf4gMT2s2rtkFba2y4"/>
+            <propval name="type" value="role"/>
+        </property_group>
+      </instance>
+    </service>
+
+    <service version="1" name="system/identity">
+      <instance enabled="true" name="node">
+        <property_group name="config">
+           <propval name="nodename" value="solaris"/>
+        </property_group>
+      </instance>
+    </service>
+
+    <service name="system/console-login" version="1">
+      <property_group name="ttymon">
+        <propval name="terminal_type" value="sun"/>
+      </property_group>
+    </service>
+
+    <service name='system/keymap' version='1'>
+      <instance name='default' enabled='true'>
+        <property_group name='keymap'>
+          <propval name='layout' value='US-English'/>
+        </property_group>
+      </instance>
+    </service>
+
+    <service name="network/physical" version="1">
+      <instance name="nwam" enabled="true"/>
+      <instance name="default" enabled="false"/>
+    </service>
+
+    <service name='network/dns/client' version='1'>
+      <instance name='default' enabled='true'/>
+    </service>
+</service_bundle>