autoyast2, Suse 9.1 Pro and resolv.conf
Hi, I've just discovered Suse and autoyast2 (we are switching from Redhat and Systemimager for deployment) and I've have one problem. With yast2, I create a xml file for autoyast and everything works fine except for /etc/resolv.conf. The computer has the right IP address, the right gateway but no /etc/resolv.conf. I use static IP and here is an extract of my configuration file : <networking> <dns> <dhcp_hostname config:type="boolean">false</dhcp_hostname> <dhcp_resolv config:type="boolean">false</dhcp_resolv> <domain>equities.net.intra</domain> <hostname>cg99-005</hostname> <nameservers config:type="list"> <nameserver>10.252.0.228</nameserver> <nameserver>10.252.0.248</nameserver> </nameservers> <searchlist config:type="list"> <search>equities.net.intra</search> </searchlist> </dns> <interfaces config:type="list"> <interface> <bootproto>static</bootproto> <broadcast>10.252.82.255</broadcast> <device>eth0</device> <ipaddr>10.252.82.231</ipaddr> <netmask>255.255.255.0</netmask> <network>10.252.82.0</network> <startmode>onboot</startmode> </interface> </interfaces> <modules config:type="list"> <module_entry> <device>eth0</device> <module>bcm5700</module> <options></options> </module_entry> </modules> <routing> <ip_forward config:type="boolean">false</ip_forward> <routes config:type="list"> <route> <destination>default</destination> <device>-</device> <gateway>10.252.82.1</gateway> <netmask>-</netmask> </route> </routes> </routing> </networking> I've read some mails on this list and see it seems I can remove the <module_entry> (moreover, the tg3 driver is used instead on my IBM x335) but I've not tested that at te moment. Does anyone have an idea about the non-creation of the /etc/resolv.conf ? Where I can search logs for more information ? I'm using dhcp+pxe+nfs to boot the system and install it Thanks Nicolas This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie.
Hi, I have had the same problem with more or less the networking definitions. At the end I have added the following sysconfig lines and now I have a /etc/resolv.conf file: <sysconfig config:type="list"> <sysconfig_entry> <sysconfig_key>MODIFY_RESOLV_CONF_DYNAMICALLY</sysconfig_key> <sysconfig_path>/etc/sysconfig/network/config</sysconfig_path> <sysconfig_value>no</sysconfig_value> </sysconfig_entry> </sysconfig> Best regards Ulrich nicolas.raspail@bnpparibas.com wrote:
Hi,
I've just discovered Suse and autoyast2 (we are switching from Redhat and Systemimager for deployment) and I've have one problem. With yast2, I create a xml file for autoyast and everything works fine except for /etc/resolv.conf. The computer has the right IP address, the right gateway but no /etc/resolv.conf. I use static IP and here is an extract of my configuration file :
<networking> <dns> <dhcp_hostname config:type="boolean">false</dhcp_hostname> <dhcp_resolv config:type="boolean">false</dhcp_resolv> <domain>equities.net.intra</domain> <hostname>cg99-005</hostname> <nameservers config:type="list"> <nameserver>10.252.0.228</nameserver> <nameserver>10.252.0.248</nameserver> </nameservers> <searchlist config:type="list"> <search>equities.net.intra</search> </searchlist> </dns> <interfaces config:type="list"> <interface> <bootproto>static</bootproto> <broadcast>10.252.82.255</broadcast> <device>eth0</device> <ipaddr>10.252.82.231</ipaddr> <netmask>255.255.255.0</netmask> <network>10.252.82.0</network> <startmode>onboot</startmode> </interface> </interfaces> <modules config:type="list"> <module_entry> <device>eth0</device> <module>bcm5700</module> <options></options> </module_entry> </modules> <routing> <ip_forward config:type="boolean">false</ip_forward> <routes config:type="list"> <route> <destination>default</destination> <device>-</device> <gateway>10.252.82.1</gateway> <netmask>-</netmask> </route> </routes> </routing> </networking>
I've read some mails on this list and see it seems I can remove the <module_entry> (moreover, the tg3 driver is used instead on my IBM x335) but I've not tested that at te moment. Does anyone have an idea about the non-creation of the /etc/resolv.conf ? Where I can search logs for more information ? I'm using dhcp+pxe+nfs to boot the system and install it
Thanks
Nicolas
This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie.
-- +-----------------------------------------------------------+ | Ulrich Bernhard | | Informatikdienste Tel: (+41-44) 635 67 73 | | Universitaet Zuerich Fax: (+41-44) 635 45 05 | | Winterthurerstr. 190 | | CH-8057 Zuerich Email: ulrich.bernhard@id.unizh.ch | | Switzerland | +-----------------------------------------------------------+
participants (2)
-
nicolas.raspail@bnpparibas.com
-
Ulrich Bernhard