<?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">
  <install>
    <bootloader>
      <loader_type>grub</loader_type>
      <location>mbr</location>
    </bootloader>
    <general>
# LinuxCOE TIME
      <mode>
        <confirm config:type="boolean">false</confirm>
        <forceboot config:type="boolean">false</forceboot>
        <reboot config:type="boolean">true</reboot>
      </mode>
    </general>
    <software>
# LinuxCOE SuSE BUNDLES
    </software>
# LinuxCOE PARTITION
  </install>
  <configure>
# LinuxCOE Config Options
    <scripts>
      <chroot-scripts config:type="list">
        <script>
          <chrooted config:type="boolean">true</chrooted>
          <filename>sax-config</filename>
          <interpreter>shell</interpreter>
          <location></location>
          <source><![CDATA[#!/bin/bash
test -x /usr/sbin/sax2 || exit 0
/usr/sbin/sax2 --auto
       ]]></source>
        </script>
        <script>
           <chrooted config:type="boolean">false</chrooted>
           <filename>ESX3_fix</filename>
           <source>
           <![CDATA[
# This script applies the ESX MPT SCSI RPM Fix for SLES9 VM's
test -r /mptscsi.rpm || exit 0
cp /mptscsi.rpm /mnt/tmp
           ]]>
           </source>
         </script>
         <script>
           <chrooted config:type="boolean">true</chrooted>
           <filename>chrooted_ESX3_fix</filename>
           <source>
           <![CDATA[
# This script applies the ESX MPT SCSI RPM Fix for SLES9 VM's
test -r /tmp/mptscsi.rpm || exit 0;
/bin/rpm -iv /tmp/mptscsi.rpm >>/var/log/LinuxCOE-mpt.log 2>&1
cd /boot
rm initrd
ln -s initrd-2.6.5-7.244-default initrd
           ]]>
           </source>
         </script>
        <script>
           <filename>replay_cp</filename>
           <chrooted config:type="boolean">false</chrooted>
           <source>
           <![CDATA[
test -r /replay || exit 0 
cp /replay /mnt/tmp/replay
           ]]>
           </source>
        </script>
        <script>
           <chrooted config:type="boolean">true</chrooted>
           <filename>chrooted_replay_cp</filename>
           <source>
           <![CDATA[
test -r /tmp/replay || exit 0
mkdir -p /etc/opt/LinuxCOE
mv /tmp/replay /etc/opt/LinuxCOE
           ]]>
          </source>
        </script>
      </chroot-scripts>
      <post-scripts config:type="list">
# LinuxCOE FINAL SCRIPT
      </post-scripts>
    </scripts>
  </configure>
</profile>
