Commit Graph

117 Commits

Author SHA1 Message Date
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
mellor
ab5b2ca9df bundle file and pkglist updates to automatically install perl-DBD and ODBC rpms on service nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7767 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-06 19:05:26 +00:00
phamt
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
mxi1
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
mxi1
9ce6102a4a for defect 3072164,
move the code related with kernel selection out of "unless($onlyinitrd)" block.

    the code for sles and redhat  is all udpated.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-25 09:54:06 +00:00
jbjohnso
ed66c9013c -Fix errors in BOOTIF handling and RHEL5 stateless/statelite image network bringup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-22 15:08:16 +00:00
linggao
d3b2c73a23 bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 18:12:25 +00:00
linggao
eabd2ed67d bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7506 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 17:33:51 +00:00
mxi1
444bdd0b8e the code change for genimage enhancement is here
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 09:54:47 +00:00
daniceexi
24fd95b6e7 Create the temporary directory for the driver update disk with ramdom dir name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-23 08:00:51 +00:00
phamt
5bc53f2fe4 Fixed error in rc.statelite: /sysroot/etc/init.d/statelite: line 326: [!: command not found
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 01:29:28 +00:00
mxi1
92b99d0a9d fix one bug for "FindFile()" function in rc.statelite
now, "ls -A ${path}|wc -l" is used to judge whether one directory is empty or not


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-15 16:06:23 +00:00
mxi1
c9f074bb4d in order to support diskless SLES11 on P7, all the file in /lib64/ will be copied to /tmp/initrd.$$/lib64/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 09:09:06 +00:00
daniceexi
a2b682832e The code checkin of driver update disk support for Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 09:05:51 +00:00
mxi1
fd6fcab6e7 increased the retry times;
replace udp with tcp as the default nfs options;


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 03:24:40 +00:00
mxi1
2ef5d53f9c for defect 3017528, seperate the "xcatdsklspost" from gettyset,
and also put xcatdsklpost to xcatpostinit, which works for both redhat and sles
thanks, Andrew(st-an-v)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 09:57:05 +00:00
mxi1
ce0393fcb3 remove one unused variable - rwfiles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 03:22:24 +00:00
mxi1
950f31d806 imgutils::get_package_names() is used now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-09 09:36:36 +00:00
mxi1
17731a33ec for defect 3012545,
"netboot/imgutils/imgutils.pm" is created to hold all the functions used in different "genimage" commands;


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-09 06:19:30 +00:00
phamt
f748d43151 Cleaned up xCAT code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 15:12:44 +00:00
mxi1
d7e3671d38 remove mountfile() from genimage code, according to defect 3017542
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-06 08:29:49 +00:00
mxi1
d80587803c remove the un-used code from genimage, according to the defect 3019537
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-06 08:18:22 +00:00
mxi1
f8fab79782 for defect 3017573, change "-z" to "! -e".
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-18 02:59:31 +00:00
phamt
610d9e5e91 Update genimage code to support s390x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 00:09:21 +00:00
phamt
14812ec27b Added statelite support to zVM plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-15 21:09:35 +00:00
mxi1
8bcb731086 defect 3006554 is fixed; if one home-made kernel is specified with "-k" option,
the user can put the kenrel file(for example, its name should head with "vmlinux" or "vmlinuz" or "image") into /boot/ directory,
put the related kernel modules to /lib/modules/


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-09 07:50:50 +00:00
mxi1
9fb095dd43 make sure gettyset will always be in the .depend.start file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-24 07:23:05 +00:00
mxi1
c891a99e34 defect 2994621 is fixed;
some LSB tags are added to gettyset,


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-14 07:42:58 +00:00
linggao
adf8d46bc3 removed /var/cache/yum* from the exlist file and add /var/cache/zypper* instead for SLES diskless images
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 16:12:35 +00:00
mxi1
f19057cdeb "iputils" is added to the .ppc64.pkglist files,
the "ping" command from "iputils" is used by the "setbootfromnet" script


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-27 06:25:37 +00:00
mxi1
9ed6596820 -defect 2990306 is fixed;
if two or more kernel packages are installed into $rootimg_dir/boot/,
the value of "<$rootimg_dir/boot/vmlinux-*>" will be one array, not a file, 
which can lead to one error for the copy() subroutine in File::Copy.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-21 09:36:22 +00:00