diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index 2869c95ce..bd435fd04 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -1394,11 +1394,12 @@ sub generic_post { # This function is meant to leave the image in a state approx open($cfgfile,">","$rootimg_dir/etc/resolv.conf"); print $cfgfile "#Dummy resolv.conf to make boot cleaner"; close($cfgfile); - if ($prinic) { - open($cfgfile,">","$rootimg_dir/etc/sysconfig/network/ifcfg-$prinic"); - print $cfgfile "ONBOOT=yes\nBOOTPROTO=dhcp\nDEVICE=$prinic\nSTARTMODE=auto\n"; - close($cfgfile); - } + #this code breaks statelite see defect 3324448 + # if ($prinic) { + # open($cfgfile,">","$rootimg_dir/etc/sysconfig/network/ifcfg-$prinic"); + # print $cfgfile "ONBOOT=yes\nBOOTPROTO=dhcp\nDEVICE=$prinic\nSTARTMODE=auto\n"; + # close($cfgfile); + # } foreach (split /,/,$othernics) { next if (/^$/);