2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-11 15:50:11 +00:00
Commit Graph

164 Commits

Author SHA1 Message Date
9f82cdb28d fix issue#1122@github;create /dev under chroot env based on /dev on host;use lazy mount for sysfs and procfs to make sure they are umounted no matter whether busy 2016-05-17 10:41:48 -04:00
80bee1d916 fix a typo in rh/genimage 2016-04-21 02:41:12 -04:00
0488542cb2 refine the coding style;add comments 2016-04-18 03:00:25 -04:00
7876697e30 add xz to rh6 netboot pkglist;do not mount /proc,/sys and /dev during genimage for rh6;do not add syslog module for dracut to generate initrd on rh6 2016-04-14 10:39:35 -04:00
9713d69ed3 mount /dev /sys and /proc from host readonly during genimage for redhat;correct a typo in ubuntu genimage 2016-03-25 22:15:44 -04:00
cb29ea2c09 fix issue 314: CUDA 7.5 support for rh7.2 diskless 2015-10-28 07:10:43 -04:00
4114a4f6a9 fix some codeing style problems 2015-08-28 03:29:09 -04:00
5e03ebc498 use pigz to improve the performance of genimage/packimage 2015-08-28 00:09:05 -04:00
6abb50e103 fix 4764,support centos7 and rhelhpc7 stateless 2015-08-09 22:39:03 -04:00
8ed5bcad80 adadon the patch for dracut base module; add a patched initqueue function in syslog-genrules.sh,which can process and --online and --onetime options 2015-08-04 04:38:06 -04:00
2751d49247 modify genimage according to the change of the path of syslog dracut module 2015-08-03 04:44:44 -04:00
275089f2d6 enable syslog in the stateless initrd, add logs in the xcat dracut module for redhat 2015-08-02 04:17:30 -04:00
f957b0e3dd roll back fix for ticket 4764 2015-07-28 13:56:29 +08:00
149d6d09cb fix 4764,support centos7 and rhelhpc7 stateless 2015-07-28 13:37:03 +08:00
c1eeb2f1ed Fix bug#4551 - [FVT] Command genimage print out information of succeed even if dracut was failed 2015-03-09 14:51:40 +08:00
b59f72bd8e changes to support --noupdate flag on genimage 2014-11-06 16:58:19 -05:00
573fc1790f Mellanox renamed their driver in later kernels. If new name detected, substitute it 2014-09-02 10:37:23 -04:00
c778b849e9 replace ifconfig with ip 2014-06-14 08:52:44 -07:00
d5e6982054 defect 4152: fix a typo which was introduced when support rh7 that using -N for dracut command 2014-06-04 07:38:21 -04:00
3df16cd4e3 for rh7, the initrd for stateless has to been built first to make the installkernel cfg file added first 2014-05-15 03:54:58 -04:00
40d4c75b29 code change for rh7 stateless support 2014-05-08 10:14:54 -04:00
4323842e28 rhels7 statelite/stateless support 2014-03-08 06:40:40 -08:00
caafd03ca0 fix defect #3960 Genimage broken for CentOS 5.4 nodes 2014-01-14 01:03:54 -08:00
23b836102a 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 05:00:32 -05:00
b014538601 fix the problem that rhels5.10 initrd cannot resolve the mn hostname 2013-12-18 23:21:42 -08:00
9fbd6a0f7d 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:29:46 -05:00
7ba5977869 fix #3877 [FVT]genimage return confusing error message when xCAT-IBMhpc is not installed 2013-11-06 01:45:12 -08:00
5e8d0c91e3 fix defect #2980 install kernel-source fail in genimage in rh6/centos 2013-11-01 04:06:59 -07:00
b18d580dd5 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:07:21 -04:00
3aca3b2a70 fixing bug 3510 remove useless repos after genimage 2013-10-15 17:49:01 +08:00
09fe6d5c8f 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:59:06 -04:00
6131921307 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 22:10:07 -07:00
18c8045c66 fixed bug 3706, enabled=0 in the Centos-Base.repo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-23 05:27:34 +00:00
68e4dd3d70 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/trunk@16817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-28 06:27:23 +00:00
c2dcbfc537 create localdisk directories during genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 07:52:30 +00:00
9e26b11fe2 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/trunk@15748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-31 22:44:19 +00:00
774c178272 Don't mount /proc fs since it will confuse the rpm or scripts that they are on diskless nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 09:54:45 +00:00
a288b88bd9 prevent remount root filesystem in rw mode during reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-06 08:47:47 +00:00
38b5874b32 add "-l" option support of genimage in dracut mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-22 08:35:36 +00:00
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
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
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
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
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
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
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
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
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
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