-Remove 2 postinstall workarounds; Comment otherpkgs repository in .repolist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
640f050de6
commit
0c9cc10542
@ -36,11 +36,6 @@ cat <<END >>$installroot/etc/hosts
|
||||
`getent hosts $HOSTNAME`
|
||||
END
|
||||
|
||||
cat <<END >>$installroot/root/.bashrc
|
||||
export XCATHOST=$HOSTNAME:3001
|
||||
END
|
||||
|
||||
|
||||
#Prevent DHCP from starting up until xcatd has had a chance to configure it:
|
||||
chroot $installroot chkconfig dhcpd off
|
||||
chroot $installroot chkconfig dhcrelay off
|
||||
@ -64,8 +59,6 @@ TMP_inittab=`sed 's/\(#\)\(cons:12345.*\)$/\2/' $installroot/etc/inittab`
|
||||
echo "$TMP_inittab" > $installroot/etc/inittab
|
||||
|
||||
|
||||
#copy /etc/xcat/cfgloc to rootimg
|
||||
cp /etc/xcat/cfgloc $installroot/etc/xcat
|
||||
#-- Example of booted image versioning
|
||||
#-- We want to know, with what configuration (version of the image) each node was booted.
|
||||
#-- Hence, we keep image definition files and postscripts in CVS. During image generation we create file /etc/IMGVERSION and fill it with CVS "$Id$" of files with image definition (.pkglist, .exlist, .repolist, .postinstall). Then, during boot, each "CVS enabled" postscript (see /install/postscripts/cvs_template.sh and /install/postscripts/cvs_template.pl) adds one line to /etc/IMGVERSION. Then you can determine in any time what image you are running and what postscipts in which versions were run.
|
||||
|
@ -10,4 +10,4 @@
|
||||
#Plaindir|file:/install/sles10sp2/x86_64/custom|custom
|
||||
rpm-md|http://xcat.sourceforge.net/yum/xcat-dep/sles11/ppc64|xcat-dep
|
||||
rpm-md|http://xcat.sourceforge.net/yum/devel/core-snap|core-snap
|
||||
plaindir|file:///install/post/otherpkgs/sles11/ppc64|otherpkgs
|
||||
#plaindir|file:///install/post/otherpkgs/sles11/ppc64|otherpkgs
|
||||
|
Loading…
Reference in New Issue
Block a user