Put 'repo=' in kernel command line, allow ipv6 to operate in anaconda type setups

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-11-17 20:56:23 +00:00
parent 1eb9f9b547
commit 84bbe8d110
3 changed files with 6 additions and 3 deletions

View File

@ -1103,7 +1103,7 @@ sub mkinstall
$instserver=$ent->{nfsserver};
}
my $kcmdline =
"instserver=$instserver ks=http://"
"repo=http://$instserver/install/$os/$arch/ ks=http://"
. $instserver
. "/install/autoinst/"
. $node;
@ -1180,7 +1180,7 @@ sub mkinstall
$kcmdline .= "n8r";
}
}
$kcmdline .= " noipv6";
#$kcmdline .= " noipv6";
# add the addkcmdline attribute to the end
# of the command, if it exists
#my $addkcmd = $addkcmdhash->{$node}->[0];

View File

@ -8,7 +8,7 @@ lang en_US
# nfs --server hostname.of.server or IP --dir /path/to/RH/CD/image
#
#nfs --server #XCATVAR:INSTALL_NFS# --dir #XCATVAR:INSTALL_SRC_DIR#
url --url http://#TABLE:noderes:$NODE:nfsserver#/install/#TABLE:nodetype:$NODE:os#/#TABLE:nodetype:$NODE:arch#
%include /tmp/installurl
#device ethernet e100
keyboard "us"

View File

@ -137,6 +137,9 @@ fi
if [ -d /sys/firmware/efi ]; then
echo 'part /boot/efi --size 50 --fstype vfat' >> /tmp/partitioning
fi
INSTSERVER=`sed -e 's/.*instserver=.*//' -e 's/ .*//' /proc/cmdline`
echo "url --url http://$INSTSERVER/"'install/#TABLE:nodetype:$NODE:os#/#TABLE:nodetype:$NODE:arch#' > /tmp/installurl
#TODO: ondisk detection, /dev/disk/by-id/edd-int13_dev80 for legacy maybe, and no idea about efi. at least maybe blacklist SAN if mptsas/mpt2sas/megaraid_sas seen...
echo "part swap --size 1024" >> /tmp/partitioning
echo "part / --size 1 --grow --fstype $FSTYPE" >> /tmp/partitioning