Mailinglist Archive: opensuse-autoinstall (46 mails)

< Previous Next >
[opensuse-autoinstall] opensuse 11.1 autoyast postinstall script and autofs
  • From: "Pierre Girard" <pierre.girard@xxxxxxxx>
  • Date: Tue, 6 Jan 2009 10:42:37 -0500
  • Message-id: <009e01c97015$66982180$33c86480$@girard@gerad.ca>
Hello,
I had a postinstall script that worked under 11.0 but doesn't with
11.1. It doesn't do anything complicated but it uses autofs to copy some
files from a server and nfs doesn't seem to be started at the time the
script runs even though I try to start it from the script.

Does anyone else have this problem?
I activated the feedback and I can see this message:
not starting NFS client services - no NFS found in /etc/fstab: unused


Here's part of the script from the autoyast:

<script>
<debug config:type="boolean">true</debug>
<feedback config:type="boolean">true</feedback>
<filename>postinstall1</filename>
<interpreter>shell</interpreter>
<location></location>
<network_needed config:type="boolean">true</network_needed>
<source><![CDATA[#!/bin/bash

chkconfig xinetd on
chkconfig rsh on
service xinetd start

service portmap start
service ypbind start
service nfs start
service autofs start
service cups start

DIST=/home/install
cp $DIST/xerox/xrx4500dt.ppd /usr/share/cups/model/Xerox
cp $DIST/xerox/xrx4500dx.ppd /usr/share/cups/model/Xerox


]]></source>
</script>

Thanks for your help.




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

< Previous Next >