Commit Graph

147 Commits

Author SHA1 Message Date
immarvin
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
daniceexi
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
daniceexi
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
zhaoertao
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
ligc
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
ligc
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
daniceexi
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
jjhua
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
daniceexi
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
daniceexi
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
linggao
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
immarvin
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
daniceexi
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
linggao
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
linggao
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
daniceexi
444679ba77 remove the installing of atftp. The tftp/tftp-server will be required by xCATsn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-17 04:52:08 +00:00
daniceexi
80a4196ab5 install conserver-xcat instead of conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11601 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-17 04:47:48 +00:00
daniceexi
e8ba410483 install conserver-xcat instead of conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11600 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-17 04:40:10 +00:00
wanghuaz
c41438f4b8 Fixing bug 3165548: adding several useful and small packages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-12 09:53:34 +00:00
phamt
3e0404673b Removed resmgr from package list.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-21 01:53:28 +00:00
phamt
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
ligc
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
ellen56
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
wanghuaz
d767ee6dc2 Updating dbus package name on sles10 sp4.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10831 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-19 03:01:11 +00:00
wanghuaz
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
ellen56
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
linggao
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
daniceexi
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
angli-xcat
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
daniceexi
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
daniceexi
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
linggao
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
angli-xcat
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
daniceexi
781c652667 defect 3324179: excluding files but keeping the directory in the *.exlist for directories locale and man
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-04 07:00:58 +00:00
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
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
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
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
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
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
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
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
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
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
linggao
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
mxi1
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