From 0e32272c61fb10cad0dbdab9ab2baa278929ce01 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Tue, 6 Apr 2010 05:54:54 +0000 Subject: [PATCH] -defect 2980919 is fixed; the "ifcfg-$nic" file will be there for SLES, right now. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/sles/genimage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index db625ab8c..bf443d113 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -1147,12 +1147,12 @@ sub generic_post { #This function is meant to leave the image in a state approxi open($cfgfile,">","$rootimg_dir/etc/resolv.conf"); print $cfgfile "#Dummy resolv.conf to make boot cleaner"; close($cfgfile); - open($cfgfile,">","$rootimg_dir/etc/sysconfig/network-scripts/ifcfg-$prinic"); + open($cfgfile,">","$rootimg_dir/etc/sysconfig/network/ifcfg-$prinic"); print $cfgfile "ONBOOT=yes\nBOOTPROTO=dhcp\nDEVICE=$prinic\n"; close($cfgfile); foreach (split /,/,$othernics) { if (/^$/) { next; } - open($cfgfile,">","$rootimg_dir/etc/sysconfig/network-scripts/ifcfg-$_"); + open($cfgfile,">","$rootimg_dir/etc/sysconfig/network/ifcfg-$_"); print $cfgfile "ONBOOT=yes\nBOOTPROTO=dhcp\nDEVICE=$_\n"; close($cfgfile); }