2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-29 17:35:32 +00:00
Commit Graph

770 Commits

Author SHA1 Message Date
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
dad1f72fdc fix issue Non-root user can not run ping on ubuntu 14.4.4 diskless #5227 2018-05-21 00:51:32 -04:00
cea795309d add iputils into compute.sles11.pkglist 2018-05-10 02:10:37 -04:00
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
78fa1c63e8 enhance exlist without typo and duplicate lines (#5036) 2018-03-30 11:32:32 +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
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
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
991a9facf9 Support custom udev rules in the initrd (#4529) 2017-12-15 03:17:10 -06:00
1e0d14d58b enhance genimage for sles12sp2 (#4450) 2017-12-06 03:01:45 -06:00
e261973c05 Support http repos for otherpkgs #4042 2017-11-13 00:47:50 -05:00
28d4f32c86 localdisk feature support sync contents from image rootfs to localdisk (#4152)
* Support sync to localdisk at the first time

* Fix #3936, httpd is not starting on stateless SN
2017-10-24 01:43:24 -05:00
c012b45ec1 Merge branch 'master' into ZVM_XCAT_DEV 2017-10-03 09:44:06 -04:00
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
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
e9029f484f Merge branch 'master' into ZVM_XCAT_DEV 2017-08-09 09:31:22 -04:00
38d0f9ba25 Add symbolic for ubuntu 16.04.2 support (#3576) 2017-08-01 00:01:34 -05:00
0624deb547 correct typo in PR#3293 2017-06-21 22:52:01 -04:00
0ab98f9273 To replace pull request 3061: use rpm inside chroot to query dracut version (#3293) 2017-06-20 21:24:05 -05:00
7487c0322a Merge branch 'master' into ZVM_XCAT_DEV 2017-04-24 09:39:38 -04:00
73b6439f05 fix issue #2898 on ububuntu 14.4+ x86_64 diskless provision , failed to resolve hostname due to lack of libnss_dns.so.2 2017-04-21 01:37:00 -04:00
a79e1d713f fix a typo 2017-03-30 18:08:14 +08:00
705556a368 Fix spelling mistake on 'dependency' 2017-03-15 10:51:38 -04:00
b647f0b53f change HOSTNAME to hostname 2017-03-09 05:17:21 -05:00
97018513c1 polish code 2017-03-09 04:27:52 -05:00
a2b365dc75 fix hostname linux in statelite sles12.2 2017-03-09 04:12:47 -05:00
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
f72676d35d Move the message for downloading the rootimg up 2017-02-14 09:49:43 -05:00
4804080586 add /tmp into the exlist of rhels7 diskless osimage 2017-02-07 12:44:44 +08:00
939031275e Put the echo in different lines so the log can reflect rootimg transfer times 2017-02-06 14:21:27 -05:00
5a83bf5e63 Merge our code with global xCAT team except for xcatws.cgi
Change-Id: I945c430685fa2febd914be09f6a6f976783abeec
2017-02-02 14:31:27 -05:00
71a08a91f0 Format the logger messages to be consistent with the echo 2017-01-25 15:59:26 -05:00
6ca6a80a56 Use a more informative logger tag and standard priority 2017-01-25 15:48:58 -05:00
bce2ee92d2 format to use 4 spaces instead of tab 2017-01-25 15:44:45 -05:00
71ca913325 Running dist-upgrade for not upgraded packages for diskless Ubuntu
images
2017-01-09 11:14:50 -05:00
8f17e38190 use updateflag.awk under postscripts in sles diskless initrd 2017-01-05 22:09:46 -05:00
b4aa8a5efd fix 2090 delete underlying files for ro statelite mounts 2017-01-05 01:33:34 -05:00
483923eae7 correct a syntax 2016-12-05 03:46:42 -05:00
3370a7d48e fix statelite persistent dir use short name 2016-11-30 22:34:42 -05:00
d92f4b0697 fix no persistent dir in statelite ramdisk 2016-11-30 08:36:12 -05:00
b769d36e06 fix issue1873 Failed to find the directory: /.statelite/persistent after statelite installation 2016-11-22 01:39:59 -05: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
1446ee33d7 fix utilities required for statelite missing from sles initrd (#2093) 2016-11-07 15:53:40 +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