Commit Graph

312 Commits

Author SHA1 Message Date
angli-xcat 04cb7483c6 This is for SLES 11 SP1 SDK DVD support
====================================================================
Target Dist:	SLES 11 SP1, for both full install and statelite install
Aim:		To enable users to install packages from SDK DVD during installation
user impact:	If the user add packages in .pkglist files, he/she should first do 'copycds' using SDK DVD iso.
By-effect:	N/A
Limitations:	2nd installation DVD and 2nd SDK DVD not supported, both carries source packages. 
                It seems they are not recognized by autoyast, and it's of no use to install sources pkgs on CNs.
====================================================================

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-27 03:46:29 +00:00
linggao 4c638bd8d4 genimage changes to not save the default kernel version.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-24 16:22:15 +00:00
lissav d7f2621fb2 fix for defect 3324448, remove pmr fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 14:33:04 +00:00
lissav e4d41b26f3 fix for defect 3324448, remove pmr fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 14:31:55 +00:00
lissav e2a88a57f9 fix for defect 3324448, remove pmr fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 14:30:57 +00:00
lissav a12c2b5a3d fix for defect 3324448, remove pmr fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 14:29:38 +00:00
lissav 229d3c6778 fix for defect 3324448, remove pmr fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 14:25:25 +00:00
jbjohnso ba2821b018 Port forward fix for netstart issue with RHEL statelesess
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-21 19:31:16 +00:00
daniceexi 1034d25033 Fix the issue that genimage has typo in mount -o option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-21 02:58:55 +00:00
daniceexi e424d5ee5a code drop for SL6 support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 12:37:23 +00:00
angli-xcat 679df9febb This is to enable client to indicate options when mounting persistent directories on statelite(nfs/ramdisk) CNs, if not, "nolock,tcp" will be used as default options. This implementation aims for SLES11.
client can revise the statelite table to benefit from this, like:

#node,image,statemnt,mntopts,comments,disable
"935n02",,"192.168.0.244:/tmp","soft,timeo=200",,

------------------------------------------------------

Another change in sles.pm: we do insmod for net interfaces (ibmveth, ehea, etc...) after all other modules, to avoid failure when do 'netstart' during installation.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 03:06:56 +00:00
lissav a9e6e60de7 fix defect 3315725
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-13 16:50:40 +00:00
lissav fba13de72f fix defect 3315725
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-13 16:49:44 +00:00
angli-xcat 3a028e762f some minor fix for my last commit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-13 06:23:25 +00:00
angli-xcat c28d4a87f1 This is to enable client to indicate options when mounting persistent directories on statelite(nfs/ramdisk) CNs, if not, "nolock,rsize=32768,tcp,timeo=14" will be used as default options. This implementation aims for RHEL6. SUSE to be implemented later.
client can revise the statelite table to benefit from this, like:

#node,image,statemnt,mntopts,comments,disable
"935n02",,"192.168.0.244:/tmp","soft,timeo=200",,


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-07 08:59:53 +00:00
daniceexi e9ecdfb61d The nfs should be included in the initrd for stateltess since it will be used for statelite ramdisk mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-27 03:00:05 +00:00
daniceexi 30cb2e9366 defect 3203276: make the genimage get the additional kernel from rpm package instead of extracted files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-26 16:24:17 +00:00
linggao 824705d8e5 fixed defect 3302671 and 3299348
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-16 19:01:03 +00:00
linggao 8d62dd6304 make sure to use the full path for searching the pkg names in genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-10 21:14:25 +00:00
jbjohnso dc0f504997 -Make url parsing greedy so as not to be confused by too many colons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-14 18:56:00 +00:00
jbjohnso 0c4ddfc077 Add virtio_net to default driver list for RH family
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-14 14:18:40 +00:00
mxi1 dd26e8d03f for defect 3203276 and 3170932,
added a new attribute ("kerneldir") in linuximage table;
    The 3rd-party kernel rpm package should be installed into the kerneldir.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-28 07:39:59 +00:00
mxi1 4175e33d5c Merge branch 'imgcapture'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-22 08:36:11 +00:00
mxi1 05882d7e80 added two .imgcapture.exlist files for rh/sles;
updated the manpage of "imgcapture";
improved the output of "imgcapture";
added one option to "imgcapture" to support imgname;

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-21 06:31:21 +00:00
bp-sawyers 911e02cd1c Removing add-on files that were copied from suse. Egan will rewrite them and put them back in.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-18 17:48:49 +00:00
bp-sawyers f71899ebf5 Removed pbstop and its man page, because it is GPL and is now available as an rpm on the internet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-18 13:49:03 +00:00
jbjohnso 8cd38a0c7f Fix older RHEL5 stateless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-03 20:17:25 +00:00
bp-sawyers 5bda5a1df6 Check in Arif's changes for debian/ubuntu support. Not all patches applied yet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-02 09:50:17 +00:00
mxi1 7b9fa084c0 for defect 3168785, add code for statelite comptiable reason.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-24 08:04:45 +00:00
ligc d4ad412781 system x SLES 11 SP1 support, stop udevd before chroot to rootimg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-24 02:55:39 +00:00
mxi1 b6cd3ca5bf for defect 3178022,
added the full path of "mkdir" command in rc.statelite files

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-17 09:24:21 +00:00
ligc ae310c716e system x support for SLES 11 SP1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-17 07:13:23 +00:00
jbjohnso e748077621 Put hostname -s for rc.statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-07 16:02:03 +00:00
jbjohnso 4ee56c560f -Do not require fsck for stateless/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-07 13:21:43 +00:00
mxi1 eaed423ead removed the debug switch ("-x") from the xcatroot bash script.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-17 03:05:06 +00:00
daniceexi 0c194d45fb Fedora14 support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-13 09:04:22 +00:00
mxi1 b11687c421 the code to enable statelite semantics on top of ramdisk is here:
there's one new attribute called "rootfstype" for the osimage;

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-06 06:54:06 +00:00
mxi1 93db0c579b rename "rh5" to "rhels5" for the sample files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-22 06:24:40 +00:00
mxi1 df548ce77a added the sample files for rhels6 diskless service node
also, removed the rhels5.3, rhels5.4 files, and added them for rhels5

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-22 06:21:31 +00:00
mxi1 9f6781f316 for defect 3139537;
fixed the defect to handle the relative path related with "../add-on/statelite/rc.statelite".

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-21 03:22:09 +00:00
mxi1 680a09572e the code to generate ifcfg-ethx files has been moved from rc.statelite to the enablekdump script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-16 09:36:17 +00:00
mxi1 a11dac9e1c Merge branch 'rhel'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8411 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-15 08:37:32 +00:00
mxi1 dd661c6aa0 code is committed for kdump feature
the "dump" attribute is added for the linuximage table

/install/kdump/tmp directory will be created by default when xCAT rpm package is installed;

the "enablekdump" postscript is added for kdump feature

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-14 07:15:45 +00:00
mxi1 f159080112 use FindBin module to resolve the relative lib path.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-13 06:59:31 +00:00
mxi1 fb867bc6b8 removed the sleep time interval before litefile and litetree commands
replace /sysroot with $NEWROOT in rc.statelite and rc.statelite.ppc.redhat

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-24 03:29:17 +00:00
mxi1 1cb5bdb0d7 the code to handle ifname/netdev/BOOTIF is updated;
also, when the node is booting up, one file named "ifcfg-ethx" will be created for redhat6.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-23 12:15:54 +00:00
jbjohnso 18b2a0d8aa -Restore resolv.conf preservation in RHEL5 stateless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-09 18:41:22 +00:00
mxi1 3822bfc406 Squashed commit of the following:
update the code to handle the scenario when both the parent and child directory exist in the litefile table

    remove one line from xcat-prepivot.sh

    updated the manpage for litefile

    the statelite document is updated

    /etc/mtab is added as one default entry when "litefile" or "ilitefile" commands are running, even it is not in litefile table

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-09 12:49:55 +00:00
mxi1 eb7a1b66c3 merge the code change to rc.statelite.ppc.redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-06 07:51:34 +00:00
mxi1 7ccb6dc32e add code to support "/var/" and "/var/tmp/logs" as parent&child directory;
some bug fix in rc.statelite

    fix one bug when recovering the files in litefile.save
    update the example for parselitefile subroutine

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-06 07:36:48 +00:00