Commit Graph

123 Commits

Author SHA1 Message Date
a665a4ebc3 handle multiple postinstall script in linuximage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 16:27:44 +00:00
fcd6182b3d defect 3287:avoid to running gettyset for sles11 and higher
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 13:11:41 +00:00
03b2373420 fixed bug 3264 , support the multiple paths for osimage.pkgdir in the sles11 genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 07:56:14 +00:00
92e781fe74 Fixed the hang issue of reboot/shutdown a nfs-based statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 07:50:29 +00:00
92ef245abe Fixed the issue that genimage could not handle the driver name is .ko.new instead of .ko
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:59:49 +00:00
427b66827f Code drop for local hard disk to be used as persistent storage for statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:02:36 +00:00
995435b8b7 insserv with -f option to ignore the dependency on sles10.4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 03:45:35 +00:00
d1f017ce94 remove geninitrd, use genimage --onlyinitrd instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 08:47:48 +00:00
5ffbcb5fba Change the interface of loading drivers from rpm package. If no netdrivers attribute specifiec, no driver will be added. If you'd like to add all drivers from rpm packages, using allupdate as key word in netdrivers attribute.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 05:58:29 +00:00
7cae9aaa93 To make genimage to be run cross distro levels. Technically, there's no issue to cross the whole distro (sles/rh). Officially, only the distro with same major version can be suported.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 06:40:00 +00:00
62b01be3d2 fix bug 3558853:genimage need tg3 for firebird plus ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-17 09:07:37 +00:00
3142f33bde fix for bug 3553437: add be2net driver into the default list, it is needed by blacktip blades work with SLES 11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 06:08:50 +00:00
026398c7b2 fix for bug 3553437: add be2net driver into the default list, it is needed by Firebird blades work with SLES 11
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 05:31:49 +00:00
161cdeb4ec code drop for the support that loading drivers from driver rpm. The change has affected the code logic for driver disk support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 14:59:08 +00:00
824503966a fixed bug 3538093, create a temporary uname in the image's rootimg dir before running the postinstall and remove it after postinstall during genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-02 07:27:16 +00:00
56c36adad6 defect 3524563: We encountered issue in LRZ with the last change that keep the udev before the chroot. The problem was IB device which started after chroot does not work. The fix was to kill the udevd after the starting of net device
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13017 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 06:13:32 +00:00
c5ab6661f0 defect 3524563: keeping the udevd does not hurt anything, so just keep it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 14:17:39 +00:00
d5a3ec70db drop -t support for genimage, defect 3520753
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 20:52:58 +00:00
1554d29c0f fixed nfs mount problem and bug:CN fail to acquire eth address during deployment(ID: 3515413)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 05:14:00 +00:00
8e3bb4ee70 fix the issue if having entry has dir path in the .pkglist, genimage failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 17:35:34 +00:00
578afdf5d0 added interactive flag for genimage prompt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 20:59:36 +00:00
de4e245335 added interactive feature for genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 19:28:49 +00:00
4b646bba25 Fixed networking problem on s390x.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-21 01:52:33 +00:00
40aba0c9c8 -t pattern should not be used with separate packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-11 06:36:51 +00:00
9ecd7a9d7e fix defect 3431769
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-01 09:39:28 +00:00
8bc3677aec Adding SLES10 SP4 supports
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-18 07:08:12 +00:00
e504131e8c Add ENV support for xcat otherpkgs.pkglist/pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-10 07:46:18 +00:00
f5b9ffacf0 fix error for SLES 11 genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-26 18:01:24 +00:00
df15b2793d make the default kernel modules name from xx to xx.ko
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-27 09:02:10 +00:00
11e62bbf12 Bug fix ID 3369758
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-19 03:28:44 +00:00
9ceb1e518f make genimage to cover the kernel name kernel-ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-18 09:02:33 +00:00
7a15992239 defect 3324448: generate the ifcfg-x configuration file when running genimage -i, but keep the ONBOOT=no to skip the break of nfs-based system
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-15 11:14:59 +00:00
9d4eb67d0e added genimage plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-07 16:10:53 +00:00
44c01cb949 This is to enable group install for .pkglist file
===========================================================
Target Dist:	SLES 11, RHELS6, both for stateless
Aim:		To Support "group" format of .pkglist file
		e.g.: "@ X Window system" (for RHELS6)
                      "@ file_server"     (for SLES11)
user impact:	N/A
By-effect:	N/A
Limitations:	N/A
Note:		Note there's a space after "@"
============================================================

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-06 09:15:36 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
44be87bb74 made permission for / on stateless node to be 755
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-26 15:03:32 +00:00
3a928b23b7 for defect 3090498, remove two unused variable in sles.pm;
for defect 3091772 and 3091775, two errors in sles genimage.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-21 08:02:24 +00:00
f143dae32f Added network drivers for s390x. Change nodeset command for zVM to handle the new name of initrd-statelite.gz.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-04 16:12:34 +00:00
152777a64e update the code to handle the kernel in genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-27 09:09:50 +00:00