Thanks. I could do that, but, say, I have the same configuration file setup for 10 different XML files. And I want to make a change. I have to remember to duplicate that change in each of the XML files. It'd be much easier if I make the change to one file, and let the script copy it for me. That's why I'm trying to get this to work -- I had it working perfectly using <files> before.... -p -----Original Message----- From: Volkmar Glauche [mailto:glauche@uke.uni-hamburg.de] Sent: Tuesday, June 17, 2003 11:43 PM To: Hirayama, Pat Cc: suse-autoinstall@suse.com Subject: Re: [suse-autoinstall] post-install script question On Tue, 17 Jun 2003, Hirayama, Pat wrote:
Greetings,
So, I've been trying to have autoyast use a post install shell script to mount an NFS share and copy various configuration files onto the newly setup server. (SuSE Linux Professional 8.2)
Thanks to Anas' help, I've gotten to the point that the script is copied over and is executed ... but it doesn't work.
The script looks something like this:
#! /bin/sh mount -a cp /mnt/suse/autoyast/files/common/syslog.conf /etc/syslog.conf cp /mnt/suse/autoyast/files/common/motd /etc/motd ...
I don't know why your script may fail. But if you just want to get your own configuration files in place there is (at least with 8.1) the <files> section where you can place file contents as CDATA in you autoyast config file like this ... <configure> <files config:type="list"> <file> <file_contents> <![CDATA[ #here goes your file contents ]]> </file_contents> <file_path>/my_path/my_name</file_path> </file> ... </files> ... Volkmar -- Volkmar Glauche Department of Neurology E-Mail glauche@uke.uni-hamburg.de UKE Hamburg Phone 49(0)40-42803-5781 Martinistr. 52 Fax 49(0)40-42803-9955 20246 Hamburg