Hi I'm currently setting up an autoyast environment running SLES9 SP2 ( x86_64 ). The autoyast server has the sources and configuration available via http. During the post-installation phase I discovered a problem. When running the post-install script I want to add an installation source for installation of my own supplemental packages. ( running /usr/bin/installation_sources -e -a http://myserver/supplemental ) To be able to fetch the post-install script I've used the <network_needed config:type="boolean">true</network_needed> which seems to bring the interface up, but for some reason it doesn't add the default gateway and when there is no gateway the script can't connect to the nameserver to resolve the hostname of the server that has the sources. installation_sources command fails. I don't want to use the IP-address when adding the installation_sources. Anyone have an idea of how to solve this? Johan
On Wednesday 10 August 2005 13:58, Johan Hansson wrote:
To be able to fetch the post-install script I've used the <network_needed config:type="boolean">true</network_needed> which seems to bring the interface up, but for some reason it doesn't add the default gateway and when there is no gateway the script can't connect to the nameserver to resolve the hostname of the server that has the sources. installation_sources command fails.
I don't want to use the IP-address when adding the installation_sources. Anyone have an idea of how to solve this?
that mechanism should use the settings from the network during the installation phase. Did you had a default gateway then? Do you use DHCP? I did not try it and I don't have the time at the moment but I would expect it to work. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nürnberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
participants (2)
-
Johan Hansson
-
Uwe Gansert