We are trying to use AutoYast to automate installs of SLED on employees PCs.  
Everything works smoothly except when we attempt to install the Novell Client 
via the add-on feature.  It worked fine on SLED10 SP0, but bombs out on SLED 10 
SP1.  Right before it begins to format the drives I get this error: "Could not 
set patterns or selections: novell-ncl".

Here is my autoyast.xml file:

<?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";>
  <add-on>
    <add_on_products config:type="list">
      <listentry>
        <media_url>http://dss-cs99la36/installs/ncl/</media_url>
        <product>Novell-Client-for-Linux-i386</product>
        <product_dir>/</product_dir>
      </listentry>
    </add_on_products>
  </add-on>
  <firewall>
    <FW_DEV_DMZ></FW_DEV_DMZ>
    <FW_DEV_EXT></FW_DEV_EXT>
    <FW_DEV_INT></FW_DEV_INT>
    <enable_firewall config:type="boolean">false</enable_firewall>
    <start_firewall config:type="boolean">false</start_firewall>
  </firewall>
  <general>
    <mode>
      <confirm config:type="boolean">false</confirm>
      <second_stage config:type="boolean">true</second_stage>
    </mode>
    <mouse>
      <id>none</id>
    </mouse>
    <signature-handling>
      <accept_file_without_checksum 
config:type="boolean">true</accept_file_without_checksum>
      <accept_unknown_gpg_key 
config:type="boolean">true</accept_unknown_gpg_key>
      <accept_unsigned_file config:type="boolean">true</accept_unsigned_file>
      <accept_verification_failed 
config:type="boolean">true</accept_verification_failed>
      <import_gpg_key config:type="boolean">true</import_gpg_key>
    </signature-handling>
  </general>
  <groups config:type="list"/>
  <networking>
    <dhcp_options>
      <dhclient_additional_options></dhclient_additional_options>
      <dhclient_client_id></dhclient_client_id>
      <dhclient_hostname_option>AUTO</dhclient_hostname_option>
    </dhcp_options>
    <dns>
      <dhcp_hostname config:type="boolean">false</dhcp_hostname>
      <dhcp_resolv config:type="boolean">true</dhcp_resolv>
    </dns>
    <interfaces config:type="list">
      <interface>
        <bootproto>dhcp</bootproto>
        <device>eth0</device>
        <startmode>auto</startmode>
        <usercontrol>no</usercontrol>
      </interface>
    </interfaces>
    <managed config:type="boolean">false</managed>
    <modules config:type="list">
      <module_entry>
        <device>static-0</device>
        <module></module>
        <options></options>
      </module_entry>
    </modules>
    <routing>
      <ip_forward config:type="boolean">false</ip_forward>
    </routing>
  </networking>
 <!--Added 07/12/07 for NTP--> 
  <ntp-client>
  <configure_dhcp config:type="boolean">false</configure_dhcp>
  <peers config:type="list">
  <peer>
  <address>time</address>
  <initial_sync config:type="boolean">true</initial_sync>
  <options></options>
  <type>server</type>
  </peer>
  </peers>
  <start_at_boot config:type="boolean">true</start_at_boot>
  <start_in_chroot config:type="boolean">false</start_in_chroot>
  </ntp-client>    
   <sysconfig config:type="list" >
    <sysconfig_entry>
     <sysconfig_key>HTTP_PROXY</sysconfig_key>
     <sysconfig_path>/etc/sysconfig/proxy</sysconfig_path>
     <sysconfig_value>proxy:8080</sysconfig_value>
    </sysconfig_entry>
    <sysconfig_entry>
     <sysconfig_key>FTP_PROXY</sysconfig_key>
     <sysconfig_path>/etc/sysconfig/proxy</sysconfig_path>
     <sysconfig_value>proxy-iberv:8080</sysconfig_value>
    </sysconfig_entry>
   </sysconfig>  
  <partitioning config:type="list">
    <drive>
      <initialize config:type="boolean">true</initialize>
      <partitions config:type="list"/>
      <type config:type="symbol">CT_DISK</type>
      <use>all</use>
    </drive>
  </partitioning>
  <power-management>
    <global_settings>
      <DISABLE_USER_STANDBY>yes</DISABLE_USER_STANDBY>
      <DISABLE_USER_SUSPEND2DISK>yes</DISABLE_USER_SUSPEND2DISK>
      <DISABLE_USER_SUSPEND2RAM>yes</DISABLE_USER_SUSPEND2RAM>
      <EVENT_BUTTON_LID_CLOSED>ignore</EVENT_BUTTON_LID_CLOSED>
      <EVENT_BUTTON_POWER>wm_shutdown</EVENT_BUTTON_POWER>
      <EVENT_BUTTON_SLEEP>ignore</EVENT_BUTTON_SLEEP>
    </global_settings>
  </power-management>
  <runlevel>
    <default>5</default>
  </runlevel>
  <scripts>
    <init-scripts config:type="list">
      <script>
        <debug config:type="boolean">true</debug>
        <filename>zmd-install</filename>
        <source><![CDATA[#!/bin/bash
if [ ! -f /tmp/lum.txt ]; then
  telinit 3
  sleep 10
  XHOSTNAME=`/usr/sbin/dmidecode | grep "Serial Number" | head -n1 | sed -e 
's/\tSerial Number: //g'`
  
  #set card full duplex here

  echo $XHOSTNAME > /etc/HOSTNAME
  hostname $XHOSTNAME
  #cd /tmp
  #wget 'http://dss-cs99la36/installs/ncl-config/setprompt'
  #source /tmp/setprompt
  #setprompt
  #unset setprompt
  cd /var/lib/novell-lum/
  wget 'http://dss-cs99la36/installs/ncl-config/.ldapp2.der'
  wget 'http://dss-cs99la36/installs/ncl-config/.ldapp1.der'
  wget 'http://dss-cs99la36/installs/ncl-config/.ldapp3.der'
  cd /etc/
  wget 'http://dss-cs99la36/installs/ncl-config/linuxUserMgmt'

  cd /tmp/
  wget 
'http://dss-cs99la36/installs/ncl-config/novell-client-conf-1.1.0-0.i586.rpm'
  wget 'http://dss-cs99la36/installs/ncl-config/lum.txt'
  wget 'http://dss-cs99la36/installs/ncl-config/lum_install.sh'
  echo "finshed stage 1"

  rpm -ivh /tmp/novell-client-conf-1.1.0-0.i586.rpm
  namconfig simple_add -r "o=la" -S ldapp2:389 -l 636 -R ldapp1,ldapp3
  namconfig set enable-persistent-cache=no
  /usr/lib/novell-lum/nsswitch.sh
  chmod 777 /tmp/lum_install.sh

  /tmp/lum_install.sh
  /usr/sbin/installcasa

  rug set require-verified-certs false
  rug sa -t zenworks https://dss-cs99la36

  rm /etc/nam.conf

  wget --no-cache http://dss-cs99la36/installs/ncl-config/nam.conf

  rcnamcd stop

  wget http://dss-cs99la36/installs/ncl-config/novell-lum-2.2.0.12-7.2.i586.rpm

  rpm -e --nodeps novell-lum

  rpm -ivh novell-lum-2.2.0.12-7.2.i586.rpm

  rm novell-lum-2.2.0.12-7.2.i586.rpm
  
telinit 5 
  /sbin/reboot 
fi
]]></source>
      </script>
    </init-scripts>
  </scripts>
  <software>
    <patterns config:type="list">
      <pattern>desktop-gnome-laptop</pattern>
      <pattern>laptop</pattern>
      <pattern>Basis-Devel</pattern>
      <pattern>desktop-gnome</pattern>
      <pattern>desktop-base</pattern>
      <pattern>x11</pattern>
      <pattern>Novell-software</pattern>
      <pattern>ccb</pattern>
      <pattern>apparmor</pattern>
      <pattern>novell-ncl</pattern>
      <pattern>documentation</pattern>
    </patterns>
  </software>
  <timezone>
    <hwclock>localtime</hwclock>
    <timezone>US/Central</timezone>
  </timezone>
  <user_defaults>
    <group>100</group>
    <groups>video,dialout</groups>
    <home>/home</home>
    <inactive>-1</inactive>
    <shell>/bin/bash</shell>
    <skel>/etc/skel</skel>
  </user_defaults>
  <users config:type="list">
    <user>
      <encrypted config:type="boolean">true</encrypted>
      <fullname>root</fullname>
      <gid>0</gid>
      <home>/root</home>
      <password_settings>
        <inact>-1</inact>
        <max>99999</max>
        <min>0</min>
        <warn>7</warn>
      </password_settings>
      <shell>/bin/bash</shell>
      <uid>0</uid>
      
<user_password>$2a$05$I7Rmi1V.66TkMqrOY1coouErj2a515bdXsfjw7sbVngc2HZnAA1xi</user_password>
      <username>root</username>
    </user>
  </users>
</profile>


-----

The Novell 1.2 client is untarred in http://dss-cs99la36/installs/ncl .

We are thinking it has something to do with certificate errors.  Perhaps we 
have put the lines pertaining to ignoring certificate errors in the wrong place?

Any ideas?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to