2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

323 Commits

Author SHA1 Message Date
yangsong
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
Bin Xu
fc4bbd33fe Fix the issue for stateless node in debug mode, /dev/log is not available (#5086)
(#4929) - use imjournal to make rsyslogd work well with journald
2018-04-11 14:19:35 +08:00
Yuan Bai
78fa1c63e8 enhance exlist without typo and duplicate lines (#5036) 2018-03-30 11:32:32 +08:00
yangsong
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
yangsong
3d5cd23d0d fix issue chroot, rpm -qa error: Failed to initialize NSS library #4959 (#4967) 2018-03-19 16:28:05 +08:00
Bin Xu
cb25622331 It is for provision log enhancement and partial address #4582 (#4648)
- clear logs in the key components during provisioning (not only debug mode, but debug mode will have more logs)
 - now only cover rhel7 stateful and stateless
 - make more syslogs into cluster.log (tag = xcat or xcat.*)
 - the changes will not impact other distro
2018-01-23 03:20:42 -06:00
yangsong
ccc6df75ae supplement for Support custom udev rules in the initrd #4529: add ethtool to stateless pkglist (#4532) 2017-12-15 17:19:40 +08:00
Matt Ezell
991a9facf9 Support custom udev rules in the initrd (#4529) 2017-12-15 03:17:10 -06:00
immarvin
e261973c05 Support http repos for otherpkgs #4042 2017-11-13 00:47:50 -05:00
Chuck Brazie
c012b45ec1 Merge branch 'master' into ZVM_XCAT_DEV 2017-10-03 09:44:06 -04:00
yangsong
a183e3b8f2 support local syslog:1)ship logrotate and log filter rule files in xCATsn;2)refine syslog script to enable log filter and rotate rules (#3921) 2017-09-15 16:03:43 +08:00
Bin Xu
029da28735 1, add default pkglist/otherpkglist/exlixt/postinstall for rhels7 ppc64le/x86_64 stateless service node (#3859)
2, restart xcat when run 'servicenode'
2017-09-06 17:04:20 +08:00
zVMopenstack
7487c0322a Merge branch 'master' into ZVM_XCAT_DEV 2017-04-24 09:39:38 -04:00
immarvin
a79e1d713f fix a typo 2017-03-30 18:08:14 +08:00
Jarrod Johnson
705556a368 Fix spelling mistake on 'dependency' 2017-03-15 10:51:38 -04:00
zet809
916e2f4348 Merge pull request #2448 from whowutwut/cleanup_logs
Clean up logger messages for xcatroot in diskless boot (2)
2017-02-14 22:59:36 +08:00
Victor Hu
f72676d35d Move the message for downloading the rootimg up 2017-02-14 09:49:43 -05:00
immarvin
4804080586 add /tmp into the exlist of rhels7 diskless osimage 2017-02-07 12:44:44 +08:00
Victor Hu
939031275e Put the echo in different lines so the log can reflect rootimg transfer times 2017-02-06 14:21:27 -05:00
Chuck Brazie
5a83bf5e63 Merge our code with global xCAT team except for xcatws.cgi
Change-Id: I945c430685fa2febd914be09f6a6f976783abeec
2017-02-02 14:31:27 -05:00
Victor Hu
71a08a91f0 Format the logger messages to be consistent with the echo 2017-01-25 15:59:26 -05:00
Victor Hu
6ca6a80a56 Use a more informative logger tag and standard priority 2017-01-25 15:48:58 -05:00
Victor Hu
bce2ee92d2 format to use 4 spaces instead of tab 2017-01-25 15:44:45 -05:00
immarvin
483923eae7 correct a syntax 2016-12-05 03:46:42 -05:00
bybai
3370a7d48e fix statelite persistent dir use short name 2016-11-30 22:34:42 -05:00
bybai
d92f4b0697 fix no persistent dir in statelite ramdisk 2016-11-30 08:36:12 -05:00
bybai
b769d36e06 fix issue1873 Failed to find the directory: /.statelite/persistent after statelite installation 2016-11-22 01:39:59 -05:00
immarvin
aac736afcb create /opt/xcat under rootimage dir incase it is not there 2016-11-10 01:07:59 -05:00
immarvin
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
cxhong
3036c8547b Merge pull request #2109 from immarvin/onxcatservice
correct the typo in commit 6f735b0e8d2eb90b5377da7baa5e2b855f7a798a
2016-11-08 10:23:17 -05:00
immarvin
b7aae30d08 correct the typo in commit 6f735b0e8d2eb90b5377da7baa5e2b855f7a798a 2016-11-08 23:07:56 +08:00
Xiaopeng Wang
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
immarvin
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
immarvin
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
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