It seems very strange that suse 10 is not able to handle the simple
names ifcfg-eth<n>... anyway you could translate the eth name into the
opportune suse syntax changing the post-install script in this way (not
yet tested!):
===========================
...
for interface in `cat $HOST_IP_FILE | grep $HOSTNAME | cut -d " " -f 1`; do
device_ip=`cat $HOST_IP_FILE | grep $HOSTNAME | grep $interface | cut -d
" " -f 2`
mac_addr=`ifconfig $interface | sed -ne "s/.*HWaddr \(.*\)/\1/p"`
# Resolve netmask.
netmask=`echo $device_ip sed "s/^10.100.*/255.0.0.0/" | sed
"s/^10.10\..*/255.255.255.0/"`
cat << EOF > $DEST_PATH/ifcfg-${interface}-${mac_address}
DEVICE=$interface
...
==============================
Let me know if it works...
-Andrea
[EMAIL PROTECTED] wrote:
> Hi Andrea, thanks for your reply. I've tryied to move the ifcfg-eth0-XXX to
> ifcfg-eth0 but it doesn't work. At boot time, it says "Wating for device
> eth0"... and then it complains about the file /sys/class/net/eth0/ifindex.
>
> Do you know where can the problem be?
>
> Thanks,
> Ignacio.
>
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users