Hi, I use version 11.0. This is what I did for the pre-script in Perl to solve the problem although I am not sure if it is efficient enough. my $infile = "/tmp/profile/autoinst.xml"; my $outfile = "/tmp/profile/modified.xml"; my $line = `dmraid -s -c`; chomp $line; open IN, $infile; open OUT, ">$outfile"; while (<IN>) { if (/(.*)isw(.*)Volume0(.*)/) { print OUT "$1$line$3\n"; } else {print OUT $_;} } close IN; close OUT; ------------------------------------- Any comments? Thanks, Alan On Tuesday 28 October 2008 08:10:56 am Uwe Gansert wrote:
Am Dienstag 28 Oktober 2008 15:11:42 schrieb Stephens, Bill {PBSG}:
Can you run a pre-install script to determine which device should be used for the partioning plan (SLES 10)? We have some servers where fiber attached drives are being identified first (SDA) as opposed to locally attached drives. We have other servers where we would like to SAN boot, but the first drive detected is sometimes a 5 mb lun.
yes, you can change the partitioning section via pre-script on SLES10
-- ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug listening to: "Phoenix" by Unheilig
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org