On Wed, Feb 28, 2007 at 11:25:30AM +0100, Uwe Gansert wrote:
how does it fail? what is the error message?
Hmm.. now I'm REALLY confused. :) I might've had errors that made my post-installs and such fail but this is _really_ odd. I fed in a profile that had a pre.sh that would output a modified.xml with 1 line change. I saved off /tmp/profile/*.xml and diff shows: $ diff autoinst.xml modified.xml 697c697 < sed -e 's/ /_SP_/g' -e 's/ /_TAB_/g' -e 's/\\/\\\\/g' $xmlin | while read line ---
sed -e 's/ / /g' -e 's/ / /g' -e 's/\\/\\\\/g' $xmlin | while read line
699,700c699,700 < line=${line//_SP_/ } < line=${line//_TAB_/ } ---
line=${line// / } line=${line// / }
848c848 < <timezone>US/Pacific</timezone> ---
<timezone>US/Eastern</timezone>
It's ok to ignore the 2 sed lines.. they're in the pre.sh part and have no effect, but the timezone is the bit that's important. After the install is done, I find: lnxlabbld3:/var/adm/autoinstall # diff -q modified.xml cache/installedSystem.xml Files modified.xml and cache/installedSystem.xml differ lnxlabbld3:/var/adm/autoinstall # diff -q autoinst.xml cache/installedSystem.xml lnxlabbld3:/var/adm/autoinstall # However: lnxlabbld3:/var/adm/autoinstall # date Wed Feb 28 17:53:34 EST 2007 So at the very least, autoyast seems to copy /tmp/profiles/autoinst.xml into /var/adm/autoinstall/cache/installedSystem.xml instead of copying modified.xml into there. The fact that I had my scripts failing in a way that seemed to indicate networking misconfiguration problems, and that the installedSystem.xml wasn't the modified.xml file.. led me to think that modified.xml was being ignored.. perhaps it's not. I'm going to try another test with my parts fixed (they're working in the above install test) and see if it semes to work or not. -- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Antonio: "No more lonely Saturday nights, lying in a dark room listening to the faucet drip, drip, drip. Wondering what's the point to going on?" Brian: "Yeah? What are you going to do?:" Antonio: "I'm volunteering at the Suicide Hotline." Brian: "All right! PARTY ON!" -- Wings -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org