daniceexi
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
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
wanghuaz
a831051d1b
fixing bug 3562874: use modules.dep to get nfs.ko dependencies and add them to initrd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-03 09:34:52 +00:00
xq2005
026dd99301
support fadump on p7 ih
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 01:57:58 +00:00
xq2005
88922b24f6
support fadump on p7 ih cluster
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 01:51:51 +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
4aed8e5a3b
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@13222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-02 06:40:07 +00:00
jbjohnso
51b6f71eb6
Remove extraneous set -x
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 17:06:25 +00:00
wanghuaz
e4037c6e09
some hpc packages listed in otherpkg list requires /proc filesystem. Previously those packages are installed from postintall script and the postintall script mounted /proc filesystem for them. Now if use otherpkgs to install HPC packages, we have to mount /proc file system also.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 08:22:41 +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
wanghuaz
f8138b1687
fixing bug 3505826: don't run yum install command if otherpkg list only contains marked removable pkg and no package to install
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 07:05:26 +00:00
daniceexi
b0981233e9
A typo to set the osdistro attr. Since rh.genimage is linked by several distro, cannot simply give a default value. Keep to be not touched
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-10 08:21:11 +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
daniceexi
3ad122912b
code drop for fedora15 support. Support the systemd and dracut 009
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-21 06:47:20 +00:00
daniceexi
dc60d160c0
defect 3373326: display a message and continue if no repository was created in the kerneldir
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-29 06:39:39 +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
daniceexi
26dff28dde
fix a bug that cannot generate resolv.conf correctly
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-27 08:35:25 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
mxi1
18ba59ac23
rollback the Schema.pm, xcatroot and genimage to r7384
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:54:48 +00:00
mxi1
8acae38e0e
the code for updating linuximage and osimage tables is completed now
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:20:27 +00:00
mxi1
1e087336bf
change the policy to update the tables
...
many variables are added
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7389 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:19:50 +00:00
mxi1
74b5516de5
formatting
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:19:11 +00:00