2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-20 02:00:24 +00:00
Commit Graph

289 Commits

Author SHA1 Message Date
Matt Ezell
0c84550441 Ensure the requested kernel version and associated packages are installed (#2018)
If a specific version of the kernel was requested, make sure any other
kernel-related packages requested in a package list get the same version.
Note, packages that get pulled in due to dependencies are NOT checked.
Also avoid updating the kernel packages when the requested version has already
been installed.
2016-10-25 14:21:06 +08:00
Victor Hu
e0bd9e1e46 Merge pull request #1986 from hu-weihua/mellanox
Refine hack_uname() in mlnxofed_ib_install.v2
2016-10-20 10:39:55 -04:00
Matt Ezell
4a84d6625d Use network settings from the command line (#1980) 2016-10-19 15:15:50 +08:00
hu-weihua
a6c910467e Refine hack_uname() in mlnxofed_ib_install.v2 2016-10-18 23:15:19 -04:00
Weihua Hu
7450348c94 Merge pull request #1953 from mattaezell/hackuname_update
Update the hackuname function
2016-10-17 16:55:25 +08:00
cxhong
7dd63f1aee Don't need to update otherpkgdir to default dir for genimage command (#1954) 2016-10-13 13:07:01 +08:00
Matt Ezell
e71c03d560 Fix escaping in hackuname 2016-10-12 10:11:33 -04:00
Matt Ezell
407aac96f9 Update the hackuname function
There are currently 2 different ways that uname is being faked;
combine both use cases.  Use the kernelver provided by the user
instead of attempting to detect it
2016-10-11 13:47:41 -04:00
Weihua Hu
d46d34f8b8 Merge pull request #1724 from mattaezell/xdie_rootimgdir
Protect umount_chroot from running with rootimage_dir undefined
2016-09-28 14:24:24 +08:00
immarvin
b6d14179ca add IMG_NAME into the environment variables to postinstall scripts 2016-09-23 14:32:54 +08:00
immarvin
ce8e4cf962 fix todays development version of xcat has a dramatically longer netboot time. #1882 2016-09-23 13:18:59 +08:00
immarvin
66c99aad31 fix issue netboot postscripts have no knowledge about the osimage it is installing. #1857; export osimage attributes to postinstall scripts as environment variables 2016-09-22 05:05:00 -04:00
immarvin
bb8c683b41 fix issue rh7.3 and rh7.2 diskless image installation failed. #1855 2016-09-19 21:48:14 -04:00
immarvin
c0194840e7 fix issue Enable Kdump can not work on diskless image for rh7.3 snapshot1 #1805;add support for kdump on rh7.x 2016-09-12 01:32:34 -04:00
immarvin
2a0529876a fix issue enimage deleted /dev/* on the management node... #1767 2016-08-25 21:56:05 -04:00
Matt Ezell
7225f2e586 Protect umount_chroot from running with rootimage_dir undefined 2016-08-17 11:00:18 -04:00
Victor Hu
ced0f25d91 Merge pull request #1678 from cxhong/1356
CUDA8 support on rhel7.2 and rhel7.3
2016-08-15 15:41:50 -04:00
Casandra Qiu
6a197828ae modify comments 2016-08-15 14:31:25 -04:00
Casandra Qiu
f492ceb7e9 use cudaruntime-8-0 as default 2016-08-15 08:50:49 -04:00
penguhyang
d4a397adce support tar for redhat6.8 2016-08-15 02:40:23 -04:00
immarvin
5699b025dd fix issue [FVT]on rhels6.8, rootimg.tar.gz is only 20 bytes after run packimage -m tar rhels6.8-ppc64-netboot-compute ; fix issue #1689 [FVT]:diskless provision broken using rootimg.tar.gz created by packimage -m tar osimage #1688 2016-08-13 00:30:56 -04:00
Casandra Qiu
33d30c8efa indent the line space 2016-08-12 16:24:13 -04:00
Casandra Qiu
2b54a0ed33 genimage failed for rhels7.2 because /etc/selinux/config file didn't exists 2016-08-12 15:38:09 -04:00
penguhyang
28144017e4 update pkglist for redhat sles ubuntu (#1680) 2016-08-12 01:03:39 -05:00
Casandra Qiu
672b7113d7 CUDA8 support on rhel7.2 and rhel7.3 2016-08-11 12:04:24 -04:00
immarvin
c70913262d fix issue [DEV] Diskless boot failed for rhel7.3 because selinux disabled. #1666 ; disable selinux in the rootimg 2016-08-11 05:11:03 -04:00
penguhyang
79426ad21e add new option to indicate compress method (#1669) 2016-08-11 03:09:43 -05:00
penguhyang
c672699571 fix genimage failed on rh6.8 (#1631) 2016-08-04 14:35:45 +08:00
Jesse Hanley
c5121bce0f Added support for remote repos in pkgdir (#1614)
This allows for remote repositories to be used for image creation.
2016-08-04 11:08:04 +08:00
penguhyang
5cd203cdf5 enhance packimage -m txc (#1602) 2016-08-02 16:45:31 +08:00
Mark Gurevich
fb911143fe perltidy all perl files, part 2 2016-07-21 13:27:40 -04:00
penguhyang
5d46d48f6a Fix issue of packimage -m txc (#1554)
* redefine the code to make distint

* fix issue of packimage -m txc
2016-07-20 07:06:33 -05:00
yangsong
d0870bcb45 Merge pull request #1520 from penguhyang/rhels6_mn_log_diskless
add syslog module to realize the log forward
2016-07-20 11:18:57 +08:00
penguhyang
797a64131b add syslog module to realize the log forward 2016-07-19 22:43:42 -04:00
Samveen Gulati
7ac29379b0 xCAT-server: Fix exclude list for RH7 - Vim >= 7.4 2016-07-07 03:48:25 +00:00
immarvin
05c90d4c47 fix issue [Customer]initrd stuck in loop and fails to get rootimg.gz for stateless image. #921 @github;use /install/postscripts/updateflag.awk as the script to report status in diskless and diskful provision 2016-07-02 22:06:41 -04:00
penguhyang
227b8f6c94 fix #1409, can't find expected logs 2016-06-30 21:45:47 -04:00
penguhyang
0a0f1d76d7 fix #1083, redhat sles, diskless, enable the diskless installation can be forwarded to MN when xcatdebugmode=2 2016-06-16 00:14:28 -04:00
immarvin
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
immarvin
80bee1d916 fix a typo in rh/genimage 2016-04-21 02:41:12 -04:00
immarvin
0488542cb2 refine the coding style;add comments 2016-04-18 03:00:25 -04:00
immarvin
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
immarvin
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
Jarrod Johnson
179cc00708 Provide 'txc' mode for packimage
tar.xz files will preserve an increasing number of things cpio will
not.  For now, implement for EL7 type oses to explore before making
it more widespread.
2016-02-01 11:08:11 -05:00
ertaozh
cb29ea2c09 fix issue 314: CUDA 7.5 support for rh7.2 diskless 2015-10-28 07:10:43 -04:00
Casandra Qiu
1a7f035eb2 Support CUDA installation on rhel7.2 ppc64le system 2015-10-07 08:58:51 -04:00
immarvin
4114a4f6a9 fix some codeing style problems 2015-08-28 03:29:09 -04:00
immarvin
5e03ebc498 use pigz to improve the performance of genimage/packimage 2015-08-28 00:09:05 -04:00
chudegao
6abb50e103 fix 4764,support centos7 and rhelhpc7 stateless 2015-08-09 22:39:03 -04:00
immarvin
fdfb56e81e abadon the patch of dracut module base/initqueue.sh 2015-08-04 05:18:24 -04:00