216 Commits

Author SHA1 Message Date
daniceexi
641b6c7aa9 rh7 diskless support that don't cfg tmp in fstab 2014-05-26 01:01:34 -04:00
daniceexi
2000a8c562 for rh7, the initrd for stateless has to been built first to make the installkernel cfg file added first 2014-05-26 01:01:18 -04:00
daniceexi
6a50b11ffc use ip command to replace ifconfig in xcatroot for diskless on rh3 2014-05-26 01:00:58 -04:00
daniceexi
137e201aba add dracut support scripts for dracut-033. Most of them are copied from dracut 2014-05-26 00:59:24 -04:00
daniceexi
5fa4bdb407 code change for rh7 stateless support 2014-05-26 00:58:55 -04:00
Jarrod Johnson
8f9350ed61 Implement bittorrent support for RHEL stateless/statelite with ramfs 2014-05-15 10:24:54 -04:00
immarvin
8984f6243b add rhels7 stateless and statelite support for x86_64 2014-03-19 07:59:02 -07:00
immarvin
ef05a92cb2 rhels7 statelite/stateless support 2014-03-08 06:46:54 -08:00
immarvin
27f6761231 fix defect #3960 Genimage broken for CentOS 5.4 nodes 2014-01-14 01:00:33 -08:00
daniceexi
05a1624439 defect 3135: changed the mount process for the statelite directory (for persistent entries) that make a directory after the node name and remount to the nodename directory instead of nfs root dir for persistent 2014-01-08 04:59:33 -05:00
immarvin
ce58c3bc1c fix the problem that rhels5.10 initrd cannot resolve the mn hostname 2013-12-18 23:19:35 -08:00
daniceexi
2b61564684 Code drop for new requirement: Add a new flag --ignorekernelchk for nodeset, geninitrd and genimage commands to skip the kernel version checking when injecting drivers from osimage.driverupdatesrc 2013-11-19 06:27:11 -05:00
immarvin
43bc2d1e8e fix #3877 [FVT]genimage return confusing error message when xCAT-IBMhpc is not installed 2013-11-17 19:07:05 -08:00
immarvin
9cb3991fec fix defect #2980 install kernel-source fail in genimage in rh6/centos 2013-11-01 04:09:15 -07:00
daniceexi
0c5aa5d8bf defect 3369: to add the flag -g for genimage command like for sles that make rh could handle the case that the kernel version is different with the name of kernel rpm when using -k to specify a new kernel version. 2013-10-24 08:05:29 -04:00
wanghuaz
d65ae4c854 fixing bug 3510 remove useless repos after genimage 2013-10-15 17:53:34 +08:00
daniceexi
efd7d6eadb defect 3803: appending the default drvier list even new driver is specified in netdrivers attr; change the output message of genimage 2013-09-27 01:57:59 -04:00
ligc
70c9b7c583 add rhelhpc6.4 support 2013-08-30 09:09:43 +08:00
root
e88a680e6b fixed bug 3706. When genimage, it generated the CentOS-Base.repo in the /etc/yum.repos.d, but the internet repositories were not enabled=0. disable it 2013-08-06 16:02:31 -04:00
wanghuaz
f570a29c5c Fixing bug 3653: with more than 9 new_install_list sessions in otherpkgs.pkglist, perl 'sort' take the integers as string, and so does not sort the order correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-28 06:30:24 +00:00
immarvin
9799ef78e6 update the nodelist.status to installing/netbooting via feedback from node during provision
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-25 07:16:57 +00:00
immarvin
a55349b5af update the nodelist.status to installing/netbooting via feedback from node during provision
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-17 15:13:41 +00:00
daniceexi
d7c626da34 run localdisk in stateless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 11:10:39 +00:00
daniceexi
5eb7f30342 create localdisk directories during genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 09:24:47 +00:00
wanghuaz
0bc40f667a Fixing two problems: 1. previously all the repos are enabled for all the yum commands. now we only enable the required repos for each yum command. 2. run yum clean in the diskless image to cleanup the repo meta data. this is required if there are multiple versions for one package name to be installed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 22:45:18 +00:00
wanghuaz
a3875d16d1 Fixing bug 3372:Don't mount /proc fs since it will confuse the rpm or scripts that they are on diskfull nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 10:14:12 +00:00
immarvin
07295f7953 support genimage -l for dracut mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 03:14:46 +00:00
immarvin
a2eb94fd1c support genimage -l for dracut mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 03:10:32 +00:00
immarvin
8a1841c238 prevent remount root filesystem in rw mode during reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 08:50:45 +00:00
ligc
8c8319ca05 fix for bug 3345: RHEL 5.8 diskless could not boot blacktip nodes, because of the missing be2net driver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 09:03:13 +00:00
wanghuaz
ddcb538720 hpc integration is replacing by kit. so the duplicated setting in xcat-server such as /etc/fstab generation should be enabled after hpc integration is used.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 00:37:38 +00:00
wanghuaz
35d771323e Copy the exlist from IBMhpc to xCAT-server to be the default exlist.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 00:21:15 +00:00
wanghuaz
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
daniceexi
d0a97ba739 defect 3287:avoid to running gettyset for rh6 and higher
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14892 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-15 13:57:23 +00:00
jjhua
6fad417a52 support multiple path of ospkgdir in rhels genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 08:56:12 +00:00
jjhua
f6317b80b5 if the osimage.pkgdir isn't set, use the default ///
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 06:08:59 +00:00
jjhua
a83217bfe8 support mutiple ospkgdir path in rhels genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-19 03:19:15 +00:00
xq2005
68432a65b2 for cross distro rpm problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-17 02:29:53 +00:00
xq2005
eb2438d595 rebuild the rpm db for stateless genimage in cross distro scenario
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 13:42:01 +00:00
daniceexi
2a88fc4d1d defect 3212: add pkgs parted,e2fsprogs,bc for localdisk support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 09:56:30 +00:00
daniceexi
7805ca64fc defect 3196: add the parted as the default installing pkg for rh6 ppc to support the localdisk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 09:05:24 +00:00
daniceexi
d2fae3ae5f defect 3131: fix the msg of dracut version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 02:55:35 +00:00
daniceexi
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
daniceexi
961797b266 add parted which will be used for local disk support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14349 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:11:40 +00:00
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