2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-12 17:30:19 +00:00
Commit Graph

205 Commits

Author SHA1 Message Date
ee62a970b4 Modify pkglist to clean up genimage warning messages 2019-11-12 16:31:49 -05:00
9b41890a2e support https:// prefix in otherpkgdir and pkgdir; ignore invalid repos 2019-04-18 01:01:44 -04:00
428483035f Only pass "--compress" argument to dracut when ($dracutver > "033") 2019-04-16 14:42:23 +08:00
700f50cf98 Add --releasever argument to yum command for RHEL 8
Add --setopt=module_platform_id=platform:el8 for RHEL 8
2019-03-12 12:28:51 +08:00
64d070b36d fix issue genimage failure might cause /proc umounted #5640 (#5648) 2018-09-20 17:04:52 +08:00
092c045d9a Provide RHEL7->RHEL8 diskless support (#5567)
* Package lists and post-install scripts for RHEL8 diskless support

* RHEL8 kernel finding hack

* Subdirectory dracut_047 for RHEL8 support

* Use /bin/bash for all the scripts

* Use "set -x" for debugging

* Tweak dracut.conf

* Remove dracut-install
2018-08-30 10:29:15 +08:00
b3cf12385d Remove trailing spaces in file xCAT-server/share/xcat/netboot/rh/genimage 2017-12-31 23:59:59 +00:00
ebc04e4cbc support args in postinstallscripts (#5462)
* support args in postinstallscripts

* add the script to inject systemd service unit
2018-08-17 11:23:56 +08:00
c49e41da99 support environment variables in osimage customized files (#5281)
* * osimage table schema change: add a "environvar" col in osimage table to hold environment variables used in osimage customized files
* osimage object schema change: add a environvar attribute, which refers to  osimage.environvar
* the environment variables specified in "environvar" attribute will be exported during invocation of postinstall scripts in genimage

* support variables in synclists

* support environment variables in genimage,mkinstall,getpostscript

* support environment variables for xdcp -i -F in packimage
2018-06-15 14:51:41 +08:00
3217230d19 fix issue chroot, rpm -qa error: Failed to initialize NSS library #4959 (#5011)
* move use_devurandom before package instllation:fix issue #4959
2018-03-26 17:35:19 +08:00
3d5cd23d0d fix issue chroot, rpm -qa error: Failed to initialize NSS library #4959 (#4967) 2018-03-19 16:28:05 +08:00
e261973c05 Support http repos for otherpkgs #4042 2017-11-13 00:47:50 -05:00
705556a368 Fix spelling mistake on 'dependency' 2017-03-15 10:51:38 -04:00
aac736afcb create /opt/xcat under rootimage dir incase it is not there 2016-11-10 01:07:59 -05:00
a40f73972a use the relative path to enable xcatpostinit1.service;remove previous xcatpostinit1 sysvinit file and systemd service unit file 2016-11-08 22:54:26 -05:00
3036c8547b Merge pull request #2109 from immarvin/onxcatservice
correct the typo in commit 6f735b0e8d
2016-11-08 10:23:17 -05:00
b7aae30d08 correct the typo in commit 6f735b0e8d 2016-11-08 23:07:56 +08:00
1b51602577 Merge pull request #2055 from immarvin/onxcatservice
fix issue linux orderly shutdown not noticed by xcat. #1939
2016-11-07 17:03:06 +08:00
6f735b0e8d fix issue linux orderly shutdown not noticed by xcat. #1939;replace xcatpostinit1 sysvinit service with xcatpostinit1.service systemd service unit as the hook to run PS&PBS and report status for redhat;report node status on system <reboot/shutdown> command 2016-11-07 13:54:47 +08:00
1ebdb5d96c add lock in rh/genimage to avoid multiple genimage processes on same rootimg directory;add guard code before umount/remove mount points under rootimg directory 2016-11-03 03:32:12 -04:00
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
a6c910467e Refine hack_uname() in mlnxofed_ib_install.v2 2016-10-18 23:15:19 -04:00
7450348c94 Merge pull request #1953 from mattaezell/hackuname_update
Update the hackuname function
2016-10-17 16:55:25 +08:00
7dd63f1aee Don't need to update otherpkgdir to default dir for genimage command (#1954) 2016-10-13 13:07:01 +08:00
e71c03d560 Fix escaping in hackuname 2016-10-12 10:11:33 -04:00
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
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
b6d14179ca add IMG_NAME into the environment variables to postinstall scripts 2016-09-23 14:32:54 +08:00
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
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
2a0529876a fix issue enimage deleted /dev/* on the management node... #1767 2016-08-25 21:56:05 -04:00
7225f2e586 Protect umount_chroot from running with rootimage_dir undefined 2016-08-17 11:00:18 -04:00
d4a397adce support tar for redhat6.8 2016-08-15 02:40:23 -04:00
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
79426ad21e add new option to indicate compress method (#1669) 2016-08-11 03:09:43 -05:00
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
5cd203cdf5 enhance packimage -m txc (#1602) 2016-08-02 16:45:31 +08:00
fb911143fe perltidy all perl files, part 2 2016-07-21 13:27:40 -04:00
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
797a64131b add syslog module to realize the log forward 2016-07-19 22:43:42 -04:00
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
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