Mailinglist Archive: opensuse-autoinstall (87 mails)

< Previous Next >
[opensuse-autoinstall] sles 9 sp3 rules problems.
  • From: "John Comitas" <jcomitas@xxxxxxxxxxxxxxxxx>
  • Date: Thu, 18 Jan 2007 08:09:13 -0800
  • Message-id: <54FC97D2D80D5646AD6D961DA02621F26DFCD2@xxxxxxxxxxxxxxxxxxx>
I have a rules file, which is read from floppy, but when it tries to open the had.xml file, it can't open /media/floppy.  What could be the issue?

Info file -

            Install: nfs//x.x.x.x/sles9-1
            Netdevice: eth0
            Server: x.x.x.x
            Ip: x.x.x.x
            Netmask: 255.0.0.0
            Gateway: x.x.x.x
            Nameserver: x.x.x.x
            Autoyast: file:///



Rules.xml -

<?xml version="1.0"?>
<!DOCTYPE autoinstall SYSTEM "/usr/share/autoinstall/dtd/rules.dtd">
<autoinstall xmlns="http://www.suse.com/1.0/yast2ns"; xmlns:config="http://www.suse.com/1.0/configns";>
<rules config:type="list">
 <rule>
  <custom1>
   <script>
    <![CDATA[
    if grep hda /proc/partitions > /dev/null; then
      echo -n "hda"
    fi;
    if grep sda /proc/partitions > /dev/null;
      echo -n "sda"
    else
      echo -n "ccis"
    fi;
    ]]>
   </script>
   <match>*</match>
   <match_type>exact</match_type>
  </custom1>
  <result>
   <profile>classes/@custom1@.xml</profile>
   <continue config:type="boolean">true</continue>
  </result>
 </rule>
</rules>
</autoinstall>

Can you please give me some assistance?

John

--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups