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
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org