[opensuse-autoinstall] SuSE 10.1 + Converting from dhcp to static IP
SuSE Version: 10.1 Install Method: PXEBOOT/DHCP Hello Everyone! I was wondering if anyone had any suggestions on how-to convert from dhcp-boot to static IP during the autoyast install? Questions: 1) Should converting from dhcp-boot to static IP take place during pre-scripts, or post-scripts? 2) When the install is initiated with dhcp, what file holds the network/dhcp information during the install process? 3) Would it be practical to use commands such as ifconfig and netstat to get the network information, and write to the /etc/sysconfig/network/ifcfg-eth-id-$MAC and /etc/sysconfig/network/routes files? Observations: I have noticed if a client is using dhcp, the package "NetworkManager" is installed, and will manage the network settings for eth0. However, if a client is using dhcp/NetworkManager, the NTP & NIS services will fail to start during bootup. If I manually change the network settings to static, NTP & NIS will start during bootup. Any help with this would be greatly appreciated. My best to you -- Rick King This is what I have in the network section of my control file. <networking> <nfs_server> <nfs_exports config:type="list"> <nfs_export> <allowed config:type="list"> <allowed_clients>@lab_nis(rw,sync)</allowed_clients> </allowed> <mountpoint>/local</mountpoint> </nfs_export> </nfs_exports> <start_nfsserver config:type="boolean">true</start_nfsserver> </nfs_server> <dhcp_options> <dhclient_client_id></dhclient_client_id> <dhclient_hostname_option>AUTO</dhclient_hostname_option> </dhcp_options> <dns> <dhcp_hostname config:type="boolean">true</dhcp_hostname> <dhcp_resolv config:type="boolean">true</dhcp_resolv> <hostname>AUTO</hostname> </dns> <interfaces config:type="list"> <interface> <bootproto>dhcp</bootproto> <device>eth0</device> <startmode>onboot</startmode> </interface> </interfaces> <modules config:type="list"> </modules> <routing> <ip_forward config:type="boolean">false</ip_forward> </routing> </networking> -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hello! Am 4.5.2007 17:02 Uhr schrieb "King, Richard (CE1 UNIX Admin)" unter <rking@hp.com>:
I was wondering if anyone had any suggestions on how-to convert from dhcp-boot to static IP during the autoyast install?
I create an individual Autoyast (and PXE) file per node by a simple script which puts the IP at the right place. Beat -- \|/ Beat Rubischon <beat@0x1b.ch> ( 0^0 ) http://www.0x1b.ch/~beat/ oOO--(_)--OOo--------------------------------------------------- Meine Erlebnisse, Gedanken und Traeume: http://www.0x1b.ch/blog/ -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Beat Rubischon
-
King, Richard (CE1 UNIX Admin)