Hi. ----- "Uwe Gansert" <ug@suse.de> wrote:
On Thursday 26 April 2007 09:57, Jacob Emcken wrote:
How is this resolveable? Is this a known bug?
I would like to know, does it help to put a "rcnetwork restart" into the post-script section with "network needed"="true"?
Thanks for the quick reply. I just want to point out that I'm using version 9 of Suse Linux Enterprise server. I don't know if the "network needed=true" is SLES 10 specific? I need to install SLES9 but if it would help anything I could use SLES10 as an install server. Anyway I created the post script xml snippet on a sles 10 and copy pasted that to my SLES 9 xml profile: ... <scripts> <post-scripts config:type="list"> <script> <debug config:type="boolean">true</debug> <filename>reload_network</filename> <interpreter>shell</interpreter> <location></location> <network_needed config:type="boolean">true</network_needed> <source><![CDATA[ip a rcnetwork restart echo echo echo "Network after restart" ip a ]]></source> </script> ... which made the file `/var/adm/autoinstall/logs/reload_network.log` containing: + ip a 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo 2: eth0: <BROADCAST,MULTICAST,NOTRAILERS,UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:17:a4:f8:19:7d brd ff:ff:ff:ff:ff:ff inet 10.73.18.249/24 brd 10.255.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000 link/ether 00:17:a4:f8:19:7c brd ff:ff:ff:ff:ff:ff + rcnetwork restart Shutting down network interfaces: eth0 device: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 10) eth0 configuration: [1A..done eth1 device: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 10) eth1 configuration: [1A..doneShutting down service network . . . . . . . . . . . . . . ...done Setting up network interfaces: lo lo IP address: 127.0.0.1/8 [1A..done eth0 device: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 10) eth0 No configuration found for eth0 [1A..unused eth1 device: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 10) eth1 No configuration found for eth1 [1A..unusedSetting up service network . . . . . . . . . . . . . . . ...done + echo + echo + echo 'Network after restart' Network after restart + ip a 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo 2: eth0: <BROADCAST,MULTICAST,NOTRAILERS> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:17:a4:f8:19:7d brd ff:ff:ff:ff:ff:ff 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000 link/ether 00:17:a4:f8:19:7c brd ff:ff:ff:ff:ff:ff ----- End of `/var/adm/autoinstall/logs/reload_network.log` content ----- As you can see I have no network at all now until the static address is applyed later on in the install process. I get an error about the install not being able to fetch a specific rpm (dont remember the package name now) and I get an error when the installer try to modify some runlevel scripts. The NFS shares are mounted when the machine comes up but my post scripts aren't executed correctly. Because there is no net when executed. -- Cheers Jacob Emcken -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org