<?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">
# LinuxCOE TIME
  <install>
    <bootloader>
      <loader_type>grub</loader_type>
      <location>mbr</location>
    </bootloader>
    <general>
      <mode>
        <confirm config:type="boolean">false</confirm>
        <forceboot config:type="boolean">false</forceboot>
        <reboot config:type="boolean">true</reboot>
      </mode>
      <signature-handling>
        <accept_unsigned_file         config:type="boolean">true</accept_unsigned_file>
        <accept_file_without_checksum config:type="boolean">true</accept_file_without_checksum>
        <accept_verification_failed   config:type="boolean">true</accept_verification_failed>
        <accept_unknown_gpg_key       config:type="boolean">true</accept_unknown_gpg_key>
      </signature-handling>
    </general>
    <software>
# LinuxCOE SuSE BUNDLES
    </software>
# LinuxCOE PARTITION
  </install>
  <configure>
# LinuxCOE Config Options
    <scripts>
      <pre-scripts config:type="list">
         <script>
	   <source>
	   <![CDATA[ 
# This fixes permission in /var so autoyast doesn't gag because mortal user (apache) repacked initrd. 
chown -R root:root /var
	   ]]>
	   </source>
	 </script>
      </pre-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>
           <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>
