Swartz, Patrick H schrieb:
<chroot-scripts config:type="list"> <script> <chrooted config:type="boolean">true</chrooted> <filename>mpath_setup.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[ #!/bin/sh cp /etc/lvm/lvm.conf /etc/lvm/lvm.conf.orig sed -r 's#filter = \[ "r\|/dev/\.\*/by-path/\.\*\|", "r\|/dev/\.\*/by-id/\.\*\|", "a/\.\*/" \]#filter = [ "a|/dev/cciss/c0d0.*|", "a|/dev/disk/by-id/.*|", "r|.*|" ]#;T;a types = [ "device-mapper", 253 ]' lvm.conf > lvm.conf.new cp lvm.conf.new lvm.conf sed -i --in-place=.bak '/INITRD_MODULES/s/mptspi/dm-multipath &/' /etc/sysconfig/kernel /sbin/mkinitrd -f multipath ]]> </source> </script> </chroot-scripts>
Hi Patrick, you can find that script after the installation at /var/adm/autoinstall/scripts/ and the corresponding log output at /var/adm/autoinstall/logs/. There you may find a message like "`lvm.conf' no such file or directory", because, obviously, your sed-command wants to run in the /etc/lvm/ folder, which is not the case. BTW: What are the lvm.conf changes good for? I am doing LVM configuration with cciss devices, too, but never needed to manipulate lvm.conf. Is this related to dm-multipath? Regards, Oliver -- Oliver Schweikert Software Development HORIBA Europe Automation Division GmbH Zabergäustr. 3 73765 Neuhausen (Germany) Tel: +49 7158-933-413 Fax: +49 7158-933-613 Email: oliver.schweikert@horiba.com Geschäftsführer: Thomas E. Ehmann, Yuichi Muroga, Takashi Nagano Amtsgericht Stuttgart, HRB 213200 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org