Hi,


I'm unable to get chroot scripts to work in unattended upgrade (SLES 10 SP4 to SLES 11 SP1 Everything else works fine) Before initiating entire unattended upgrade process, I modified /boot/grub/menu.lst "Default" line to "Default 3" which corresponds to "title Upgrade" and I added chroot script to autoupg.xml to change "Default" back to 0 before first boot, but this is not working (upon reboot Default is still 3)  


Here is the section of autoupg.xml with chroot script:


  <scripts>

    <chroot-scripts config:type="list">

      <script>

        <filename>clean_bootloader.sh</filename>

        <interpreter>shell</interpreter>

        <source><![CDATA[

#!/bin/bash

 

sed -i 's/default [0-9]/default 0/' /boot/grub/menu.lst

]]>

        </source>

      </script>

    </chroot-scripts>

  </scripts>


Are chroot scripts supposed to work here?


Thanks in advance,


Nefi M.