diff --git a/xCAT-server/share/xcat/netboot/rh/genimage b/xCAT-server/share/xcat/netboot/rh/genimage index 99933e7d5..a9b0b5c61 100755 --- a/xCAT-server/share/xcat/netboot/rh/genimage +++ b/xCAT-server/share/xcat/netboot/rh/genimage @@ -1414,11 +1414,12 @@ sub generic_post { #This function is meant to leave the image in a state approxi print $cfgfile "#Dummy resolv.conf to make boot cleaner"; close($cfgfile); # TODO - if ($prinic) { - open($cfgfile,">","$rootimg_dir/etc/sysconfig/network-scripts/ifcfg-$prinic"); - print $cfgfile "ONBOOT=yes\nBOOTPROTO=dhcp\nDEVICE=$prinic\n"; - close($cfgfile); - } +#this code breaks statelite see defect 3324448 + #if ($prinic) { + # open($cfgfile,">","$rootimg_dir/etc/sysconfig/network-scripts/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-$_");