Thomas Vogt wrote / napísal(a):
Hello
Is there a way to add nameserver values to the resolv.conf with autoyast.xml? After the installation of OpenSuSE 10.3 (i386) with autoyast my resolv.conf is always empty. Everything else works fine.
XML config:
<dns>
false false <domain>mydomain</domain> <hostname>myhostname</hostname> <nameservers config:type="list"> <nameserver>1.2.3.4</nameserver> <nameserver>1.2.3.5</nameserver> </nameservers> </dns>I also tried it with a post-script but with no luck.
<scripts> <post-scripts config:type="list"> <script> <debug config:type="boolean">true</debug> <feedback config:type="boolean">false</feedback> <filename>myscript</filename> <interpreter>shell</interpreter> <location></location>
true <source><![CDATA[shell #!/bin/sh # Sort out resolv.conf cat > /etc/resolv.conf <<EOF nameserver 1.2.3.4 nameserver 1.2.3.5 EOF ]]></source> </script> </post-scripts> </scripts>Any idea?
Regards, Thomas
Can you write a bugreport for that, please? Thank you. -- Best Regards, Michal Zugec Software developer --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: mzugec@suse.cz Lihovarska 1060/12 tel: +420 284 028 960 190 00 Praha 9 fax: +420 296 542 374 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org