Mailinglist Archive: opensuse-autoinstall (99 mails)

< Previous Next >
[opensuse-autoinstall] Rule based auto-installation
  • From: 1977-Hamlet@xxxxxx
  • Date: Wed, 30 May 2007 13:41:32 +0200
  • Message-id: <20070530114132.44020@xxxxxxx>
Hi!

I'm using openSUSE 10.2 (i586) within a vmWare Server virtual machine. I'm trying to get AutoYaST running with an rules file but it simply doesn't work. :-(

I use TFTP and NFS.

My "/srv/tftpboot/pxelinux.cfg/default" contains the following entry:

# install
label linux
  kernel linux
  append initrd=initrd splash=silent showopts install=nfs://192.168.1.50/srv/nfs/OpenSuSE/10-2/CD1 language=de_DE autoyast=nfs://192.168.1.50/var/lib/autoinstall/repository/


My "/var/lib/autoinstall/repository/" directory contains a directory called rules where a file "rules.xml" is to be found. The file "rules.xml" is for testing purpose and has the following content:

<?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>
      <memsize>
        <match>
          16
        </match>
        <match_type>
          greater
        </match_type>
      </memsize>
      <result>
        <profile>
          ./a.xml
        </profile>
        <continue config:type="boolean">
          false
        </continue>
      </result>
    </rule>
  </rules>
</autoinstall>


When I boot another PC (another virtual machine) through PXE at first everything seems to work fine. I enter linux to the syslinux bootloader and as expected it starts the AutoYaST installation procedure.

The YaST2 GUI gets started and it starts with "Hardware-Erkennung". Next comes "Steuerdatei abrufen & einlesen".

All of this seems to work. :-)

But now it should load the "./a.xml" profile. Nevertheless AutoYast does not find a profile file. It prompts me to enter the "Pfad für Systemprofil" (= path for system profile).

It already has filled in the path "nfs://192.168.1.50/var/lib/autoinstall/repository/" and simply waits for the filename to be entered.

QUESTION: Why does AutoYaST not recognize the profile name within the rules.xml file?

Is this a bug?

BTW: When I use AutoYast with just one profile (entering "autoyast=nfs://192.168.1.50/var/lib/autoinstall/repository/a.xml" within "/srv/tftpboot/pxelinux.cfg/default") it simply works.

Regards,
Leonhard.
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
-- 
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups