fix for defect 3324448, remove pmr fix

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@9882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav
2011-06-22 13:59:46 +00:00
parent 6e601374b6
commit fa0992ea09
+6 -5
View File
@@ -1390,11 +1390,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 (/^$/);
open($cfgfile,">","$rootimg_dir/etc/sysconfig/network/ifcfg-$_");