7.7 Sample Control File

The following is a sample control file with most of the OES components configured.

<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
  <configure>
    <ca_mgm>
      <password>novell</password>
    </ca_mgm>
    <edirectory>
      <admin_context>cn=admin.o=novell</admin_context>
      <admin_password>novell</admin_password>
      <dib_location>/var/nds/dib</dib_location>
      <existing_ip>192.65.71.55</existing_ip>
      <existing_ldap_secure_port config:type="integer">636</existing_ldap_secure_port>
      <http_port config:type="integer">8028</http_port>
      <https_port config:type="integer">8030</https_port>
      <ldap_port config:type="integer">389</ldap_port>
      <ldap_secure_port config:type="integer">636</ldap_secure_port>
      <ntp_server>time.novell.com</ntp_server>
      <server_context>o=novell</server_context>
      <slp_da></slp_da>
     <slp_mode>none</slp_mode>
      <slp_scopes>DEFAULT</slp_scopes>
      <tree_name>OES_EXAMPLE</tree_name>
      <tree_type>existing</tree_type>
    </edirectory>
    <eguide>
      <admin_context>cn=admin.o=novell</admin_context>
      <admin_password>novell</admin_password>
      <ldap_ip_address>192.65.71.55</ldap_ip_address>
      <ldap_port config:type="integer">389</ldap_port>
      <ldap_secure_port config:type="integer">636</ldap_secure_port>
    </eguide>
    <imanager>
      <admin_context>cn=admin.o=novell</admin_context>
      <tree_name>OES_EXAMPLE</tree_name>
    </imanager>
    <iprint>
      <admin_context>cn=admin.o=novell</admin_context>
      <admin_password>novell</admin_password>
      <ldap_ip_address>192.65.71.55</ldap_ip_address>
      <ldap_secure_port config:type="integer">636</ldap_secure_port>
      <tree_name>OES_EXAMPLE</tree_name>
    </iprint>
    <lifeconsole>
      <admin_context>cn=admin.o=novell</admin_context>
      <admin_password>novell</admin_password>
      <ldap_ip_address>192.65.71.55</ldap_ip_address>
      <ldap_secure_port config:type="integer">636</ldap_secure_port>
    </lifeconsole>
    <linux-user-mgmt>
      <admin_context>cn=admin.o=novell</admin_context>
      <admin_password>novell</admin_password>
      <ldap_ip_address>192.65.71.55</ldap_ip_address>
      <ldap_port config:type="integer">389</ldap_port>
      <ldap_secure_port config:type="integer">636</ldap_secure_port>
      <partition_root>o=novell</partition_root>
      <proxy_user>cn=proxy.o=novell</proxy_user>
      <proxy_user_password>novell</proxy_user_password>
      <services>
        <ftp>no</ftp>
        <login>no</login>
        <openwbem>yes</openwbem>
        <passwd>no</passwd>
        <rlogin>no</rlogin>
        <rsh>no</rsh>
        <sshd>yes</sshd>
        <su>no</su>
        <xdm>no</xdm>
      </services>
      <ws_context>o=novell</ws_context>
    </linux-user-mgmt>
    <ncpserver>
      <admin_dn>cn=admin.o=novell</admin_dn>
      <admin_password>novell</admin_password>
    </ncpserver>
    <netstorage>
      <admin_context>cn=admin.o=novell</admin_context>
      <admin_password>novell</admin_password>
      <ifolder2_ip_address></ifolder2_ip_address>
      <ldap_ip_address>192.65.71.55</ldap_ip_address>
      <xtier_address></xtier_address>
      <xtier_proxy_context>cn=admin.o=novell</xtier_proxy_context>
      <xtier_proxy_password>novell</xtier_proxy_password>
      <xtier_users_context>o=novell</xtier_users_context>
    </netstorage>
    <novell-quickfinder>
      <admin_name></admin_name>
      <admin_password>novell</admin_password>
      <lum_enable>no</lum_enable>
      <shadow_access>no</shadow_access>
      <user_name>root</user_name>
      <user_password>novell</user_password>
    </novell-quickfinder>
    <novell-samba>
      <admin_context>cn=admin.o=novell</admin_context>
      <admin_password>novell</admin_password>
      <ldap_ip_address>192.65.71.55</ldap_ip_address>
      <ldap_secure_port config:type="integer">636</ldap_secure_port>
      <proxy_user_context>cn=proxy.o=novell</proxy_user_context>
      <proxy_user_password>novell</proxy_user_password>
      <user_context>o=novell</user_context>
    </novell-samba>
    <novell-vo>
      <address>192.65.71.55</address>
      <admin_context>cn=admin.o=novell</admin_context>
      <admin_password>novell</admin_password>
      <ldap_ip_address>192.65.71.55</ldap_ip_address>
      <ldap_secure_port config:type="integer">636</ldap_secure_port>
      <users_context>o=novell</users_context>
    </novell-vo>
    <scripts>
      <post-scripts config:type="list">
        <script>
          <filename>test_hello_world</filename>
          <interpreter>shell</interpreter>
          <location></location>
          <source><![CDATA[#!/bin/sh
‘echo "hello world" > /tmp/post-script-output']]></source>
        </script>
      </post-scripts>
    </scripts>
    <sms>
      <admin_context>cn=admin.o=novell</admin_context>
      <admin_password>novell</admin_password>
     <ldap_ip_address>192.65.71.55</ldap_ip_address>
      <ldap_port config:type="integer">389</ldap_port>
      <ldap_secure_port config:type="integer">636</ldap_secure_port>
    </sms>
    <users config:type="list">
      <user>
        <encrypted config:type="boolean">true</encrypted>
        <user_password>WKtayGW8zA9fw</user_password>
        <username>root</username>
      </user>
    </users>
    <x11>
      <color_depth config:type="integer">16</color_depth>
      <configure_x11 config:type="boolean">true</configure_x11>
      <display_manager>kdm</display_manager>
      <enable_3d config:type="boolean">false</enable_3d>
      <monitor>
        <display>
          <max_hsync config:type="integer">85</max_hsync>
          <max_vsync config:type="integer">106</max_vsync>
          <min_hsync config:type="integer">30</min_hsync>
          <min_vsync config:type="integer">50</min_vsync>
        </display>
        <monitor_device>MULTISCAN 200GS</monitor_device>
        <monitor_vendor>SONY</monitor_vendor>
      </monitor>
      <resolution>1024x768</resolution>
      <window_manager>kde</window_manager>
    </x11>
  </configure>
  <install>
    <bootloader>
      <activate config:type="boolean">false</activate>
      <device_map config:type="list">
        <device_map_entry>
          <firmware>(hd0)</firmware>
          <linux>/dev/hda</linux>
        </device_map_entry>
        <device_map_entry>
          <firmware>(fd0)</firmware>
          <linux>/dev/fd0</linux>
        </device_map_entry>
      </device_map>
      <global config:type="list">
        <global_entry>
          <key>color</key>
          <value>white/blue black/light-gray</value>
        </global_entry>
        <global_entry>
          <key>default</key>
          <value config:type="integer">0</value>
        </global_entry>
        <global_entry>
          <key>timeout</key>
          <value config:type="integer">8</value>
        </global_entry>
        <global_entry>
          <key>gfxmenu</key>
          <value>(hd0,4)/boot/message</value>
        </global_entry>
      </global>
      <initrd_modules config:type="list">
        <initrd_module>
          <module>reiserfs</module>
        </initrd_module>
      </initrd_modules>
      <loader_device>/dev/hda</loader_device>
      <loader_type>grub</loader_type>
      <location>mbr</location>
      <repl_mbr config:type="boolean">false</repl_mbr>
      <sections config:type="list">
       <section config:type="list">
          <section_entry>
            <key>title</key>
            <value>Linux</value>
          </section_entry>
          <section_entry>
            <key>kernel</key>
            <value>(hd0,4)/boot/vmlinuz root=/dev/hda5 vga=0x31a selinux=0 splash=silent resume=/dev/hda1 elevator=cfq showopts</value>
          </section_entry>
          <section_entry>
            <key>initrd</key>
            <value>(hd0,4)/boot/initrd</value>
          </section_entry>
        </section>
        <section config:type="list">
          <section_entry>
            <key>title</key>
            <value>Floppy</value>
          </section_entry>
          <section_entry>
            <key>root</key>
            <value>(fd0)</value>
          </section_entry>
          <section_entry>
            <key>chainloader</key>
            <value>+1</value>
          </section_entry>
        </section>
        <section config:type="list">
          <section_entry>
            <key>title</key>
            <value>Failsafe</value>
          </section_entry>
          <section_entry>
            <key>kernel</key>
            <value>(hd0,4)/boot/vmlinuz root=/dev/hda5 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0  3</value>
          </section_entry>
          <section_entry>
            <key>initrd</key>
            <value>(hd0,4)/boot/initrd</value>
          </section_entry>
        </section>
      </sections>
    </bootloader>
    <general>
      <clock>
        <hwclock>UTC</hwclock>
        <timezone>US/Pacific</timezone>
      </clock>
      <keyboard>
        <keymap>english-us</keymap>
      </keyboard>
      <language>en_US</language>
      <mode>
        <confirm config:type="boolean">false</confirm>
      </mode>
      <mouse>
        <id>22_exps2</id>
      </mouse>
    </general>
    <partitioning config:type="list">
      <drive>
        <device>/dev/hda</device>
        <partitions config:type="list">
          <partition>
            <filesystem config:type="symbol">swap</filesystem>
            <format config:type="boolean">true</format>
            <mount>swap</mount>
            <partition_id config:type="integer">130</partition_id>
            <partition_nr config:type="integer">1</partition_nr>
            <region config:type="list">
              <region_entry config:type="integer">0</region_entry>
              <region_entry config:type="integer">988</region_entry>
            </region>
            <size>509386753</size>
          </partition>
          <partition>
            <partition_id config:type="integer">5</partition_id>
            <partition_nr config:type="integer">4</partition_nr>
            <region config:type="list">
              <region_entry config:type="integer">2948</region_entry>
              <region_entry config:type="integer">23428</region_entry>
           </region>
            <size>12090580993</size>
          </partition>
        </partitions>
        <use>all</use>
      </drive>
    </partitioning>
    <report>
      <errors>
        <log config:type="boolean">true</log>
        <show config:type="boolean">true</show>
        <timeout config:type="integer">0</timeout>
      </errors>
      <messages>
        <log config:type="boolean">true</log>
        <show config:type="boolean">true</show>
        <timeout config:type="integer">0</timeout>
      </messages>
      <warnings>
        <log config:type="boolean">true</log>
        <show config:type="boolean">true</show>
        <timeout config:type="integer">0</timeout>
      </warnings>
      <yesno_messages>
        <log config:type="boolean">true</log>
        <show config:type="boolean">true</show>
        <timeout config:type="integer">0</timeout>
      </yesno_messages>
    </report>
    <software>
      <addons config:type="list">
        <addon>novell-health-monitoring</addon>
        <addon>auth</addon>
        <addon>novell-sms</addon>
        <addon>novell-iManager</addon>
        <addon>novell-samba</addon>
        <addon>novell-welcome</addon>
        <addon>Basis-Sound</addon>
        <addon>novell-eDirectory</addon>
        <addon>novell-lum</addon>
        <addon>novell-netStorage</addon>
        <addon>novell-ncp</addon>
        <addon>novell-web-services</addon>
        <addon>novell-quickFinder</addon>
        <addon>Base-System</addon>
        <addon>X11</addon>
        <addon>novell-yast2</addon>
        <addon>novell-nrm</addon>
        <addon>SuSE-Documentation</addon>
        <addon>Kde-Desktop</addon>
        <addon>Linux-Tools</addon>
        <addon>novell-eguide</addon>
        <addon>novell-life</addon>
        <addon>novell-base</addon>
        <addon>YaST2</addon>
        <addon>novell-ipmanagement</addon>
        <addon>novell-iPrint</addon>
      </addons>
      <base>novell-oes-all</base>
      <packages config:type="list">
        <package>perl-ldap-ssl</package>
        <package>perl-ldap</package>
        <package>perl-libwww-perl</package>
        <package>apache2</package>
        <package>autofs4</package>
        <package>convmv</package>
        <package>gdk-pixbuf</package>
        <package>ifolder3-enterprise</package>
        <package>ifolder3-tsa</package>
        <package>ifolder3-web</package>
        <package>java2</package>
        <package>java2-jre</package>
        <package>km_novfs</package>
        <package>libapr0</package>
        <package>libgcj</package>
        <package>libxml</package>
        <package>mod_mono</package>
        <package>mono-core</package>
        <package>mono-data</package>
        <package>mono-web</package>
        <package>ncompress</package>
        <package>novell-cluster-services</package>
        <package>novell-cluster-services-km</package>
        <package>novell-iManNDSbase</package>
        <package>novell-iManNLDAPbase</package>
        <package>novell-iManNLDAPsdk</package>
        <package>novell-iManNOVLice</package>
        <package>novell-iManNOVLlmgnt</package>
        <package>novell-iManNOVLxis</package>
        <package>novell-iManager-npkiapi</package>
        <package>novell-iManager-npkit</package>
        <package>novell-ncp</package>
        <package>novell-nmasclient</package>
        <package>novell-sms-zapishim-default</package>
        <package>novell-tomcat4</package>
        <package>ocfs2-tools</package>
        <package>ocfs2console</package>
        <package>pam_mount</package>
        <package>python</package>
        <package>python-gtk</package>
        <package>python-ldap</package>
        <package>python-xml</package>
        <package>samba</package>
        <package>sharutils</package>
        <package>simias</package>
        <package>simias-enterprise</package>
        <package>xsp</package>
        <package>yast2-printer</package>
        <package>apache2-jakarta-tomcat-connectors</package>
        <package>db1</package>
        <package>gnome-libs</package>
        <package>jakarta-tomcat</package>
        <package>libglade</package>
        <package>nmap</package>
        <package>orbit</package>
        <package>perl-Convert-ASN1</package>
        <package>perl-HTML-Parser</package>
        <package>perl-HTML-Tagset</package>
        <package>perl-IO-Socket-SSL</package>
        <package>perl-Net_SSLeay</package>
        <package>python-numeric</package>
      </packages>
    </software>
  </install>
</profile>