Mailinglist Archive: opensuse-autoinstall (57 mails)

< Previous Next >
Re: [opensuse-autoinstall] Has anybody ever used classes?
  • From: Mike Marion <mmarion@xxxxxxxxxxxx>
  • Date: Mon, 27 Aug 2007 17:17:25 -0700
  • Message-id: <20070828001725.GI1485@xxxxxxxxxxxxxxxxxxxxxx>
On Sun, Aug 26, 2007 at 09:08:41PM -0700, Michael T. Halligan wrote:

> Before I waste a huge amount of time, has anybody actually ever  
> successfully used the classes feature of Autoinstall? It feels  
> sometimes like I'm the only person using autoinstall period, based on  
> how little traffic there is on this list, and how many documentation  
> problems i run into. 

I've been using classes in our installs since sles9-sp3 and it carried
right over into sled/sles10 just fine.  

Our config is assembled via a rules.xml, our autoyast calls:
nfs://<host>/<path to sles10>/GV/profiles/ 

The main xml file has classes entries like:

  <classes config:type="list">
    <class>
      <class_name>software</class_name>
      <configuration>sles10.xml</configuration>
    </class>
  </classes>

from the GV/profiles/ path above:
$ cat classes/software/sles10.xml
<?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";>
    <software>
      <packages config:type="list">
        <package>openafs</package>
        <package>openafs-client</package>
        <package>openafs-devel</package>
      </packages>
      <patterns config:type="list">
        <pattern>base-32bit</pattern>
      </patterns>
    </software>
</profile>

I snipped most of the package and patterns bits, but you get the idea.

-- 
Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com
[Bart & Lisa are reading a magazine at the Kwik-E-Mart.]
Apu: "Hey, hey, this is not a lending library. If you're
not going to buy that thing put it down or I'll blow your heads off!"
-- Simpsons
-- 
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
References