Hi All, I am trying to run a chroot script that changes the /etc/lvm/lvm.conf file like so -- <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> The first step (the cp cmd) works, but the sed cmd isn't performed. I have verified several times that the sed cmd is exactly correct. Can someone help me understand why the sed cmd wouldn't perform? I need the lvm.conf changed during the chroot stage to setup the multipathing script that is done post-install. Thanks for any and all help, Patrick Swartz UNIX Planning & Engineering (DSUSSE) First Data 402-777-7337 desk 402-201-1192 Company cell 402-871-8981 Personal cell ----------------------------------------- The information in this message may be proprietary and/or confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify First Data immediately by replying to this message and deleting it from your computer. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org