2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-23 12:51:10 +00:00
Commit Graph

2044 Commits

Author SHA1 Message Date
Yuan Bai
de8dadfd41 fix /etc/hosts empty in sles12sp3 diskful installation (#5469)
* fix /etc/hosts empty

* fix /etc/hosts empty
2018-08-07 14:57:08 +08:00
Gᴏɴɢ Jie
202e6d1ec3 Draft compute.rhels8.tmpl for RHEL8 Alpha Base OS (#5341)
Draft compute.rhels8.pkglist for RHEL8 Alpha Base OS
Draft pre.rhels8 for RHEL8 Alpha Base OS
Draft post.rhels8 for RHEL8 Alpha Base OS
Draft next generation post.xcat.ng
2018-08-06 16:47:07 +08:00
Yuan Bai
fc1c23285e enhance partition for sles12sp3 (#5457) 2018-08-02 17:19:08 +08:00
Gᴏɴɢ Jie
802ed5cbad Suppress the `index.attr, No such file or directory' error message from openssl (#5456) 2018-08-02 17:00:22 +08:00
cxhong
ce42f6e03e block the command if run by non-root users (#5438) 2018-07-27 10:52:24 +08:00
Gᴏɴɢ Jie
29b5e07264 Add chrony to default Ubuntu 18.04 package lists (#5435)
* Add chrony to default Ubuntu 18.04 diskful package lists

* Add chrony to default Ubuntu 18.04 diskless package lists
2018-07-26 15:06:47 +08:00
Gᴏɴɢ Jie
299570f550 Enlarge the size of /boot partition for Ubuntu (#5432) 2018-07-25 16:33:00 +08:00
Yuan Bai
806c507a6a support sles12sp3 servicenode installation (#5426)
* support sles12sp3 servicenode installation

* polished
2018-07-24 17:32:08 +08:00
Gᴏɴɢ Jie
b86e2082bf Workaround for Ubuntu 18.04 busybox bug (#5421)
* Workaround for Ubuntu 18.04 busybox bug https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1753572

* Add cpio to the Ubuntu 18.04 diskless pkglist
2018-07-23 17:00:37 +08:00
Gᴏɴɢ Jie
d3f1bbbe26 Add virtio_net to default network driver list for Ubuntu on ppc64el (#5396) 2018-07-13 14:11:13 +08:00
GONG Jie
de3e5da935 Fix github issue #5365. Tinker for the openssl -no_ssl2 command line argument 2018-07-09 17:05:44 +08:00
Gᴏɴɢ Jie
da35f335b1 Fix github issue #5365. Proper handle the -no_ssl2 argument of openssl s_client (#5369) 2018-07-04 14:48:33 +08:00
Yuan Bai
21cf3c56d2 diskless support root options in addkcmdline (#5366)
* add root options

* polished

* polished
2018-07-03 16:51:06 +08:00
Gᴏɴɢ Jie
da8983a95e Revert "Remove -no_ssl2 command line argument for openssl. Since new version of openssl do not support it any more (#5358)" (#5364)
This reverts commit dc2ea9014d.
2018-07-03 16:11:42 +08:00
Gᴏɴɢ Jie
dc2ea9014d Remove -no_ssl2 command line argument for openssl. Since new version of openssl do not support it any more (#5358) 2018-07-02 18:11:21 +08:00
Gᴏɴɢ Jie
91e34bf84a Fix Ubuntu 18.04 postscript problem (#5356)
* Reformat post.ubuntu.common

* Revise post.ubuntu.common
2018-07-02 17:06:38 +08:00
Gᴏɴɢ Jie
b00f1f8188 Add compute.ubuntu18.04.x86_64.pkglist for Ubuntu 18.04 x86-64 support (#5343) 2018-06-27 16:45:41 +08:00
Gᴏɴɢ Jie
2559d28cb4 Revise Ubuntu 18.04 package list, add ifupdown, remove ntp and ntpdate (#5324) 2018-06-26 13:06:52 +08:00
Gᴏɴɢ Jie
f7c7ea884f [go-xcat] Fix package version checking on Ubuntu 18.04 (#5320) 2018-06-25 20:51:10 +08:00
Gᴏɴɢ Jie
f718db6b00 Add pkglist files for Ubuntu 18.04 (#5307) 2018-06-21 10:24:37 +08:00
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
cxhong
f10d33f66c redirect wget output to /tmp/wget.log (#5251)
* redirect wget output to /tmp/wget.log
2018-05-30 09:36:07 +08:00
yangsbj
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
yangsbj
cea795309d add iputils into compute.sles11.pkglist 2018-05-10 02:10:37 -04: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
Gᴏɴɢ Jie
4507a038ba Accumulated go-xcat updates (#4991)
* Fix vim modelines

* [go-xcat] Fix --long-help

* [go-xcat] Add curl support

* [go-xcat] Better tarball support

* [go-xcat] Explaination of --xcat-version argument in help message

* [go-xcat] Disable xCAT-core.repo and xCAT-dep.repo if they exist

* [go-xcat] Add change logs
2018-03-28 17:47:44 +08:00
zet809
27779acc74 Merge pull request #5016 from chenglch/logrotate
Add default logrotate configuration for gocons
2018-03-28 16:38:58 +08:00
chenglch
2ac315cbe2 Add default logrotate configuration for gocons
Add logrotate conf for the console log files and log
of goconserver.
2018-03-27 17:11:25 +08:00
Yuan Bai
9a12802077 Merge pull request #5012 from robin2008/xdcpmerge
updatenode MERGE mode does not support update an existing entry
2018-03-27 14:21:46 +08:00
Bin Xu
961108c53b updatenode MERGE mode does not support update an existing entry 2018-03-26 18:06:49 +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
bybai
f36e659715 enhance mlnxofed_ib_install.v2 return 1 when service openibd restart failed 2018-03-12 23:10:24 -04:00
GONG Jie
fe60fe04db Add libnl3 to ib.rhels7.ppc64le.pkglist 2018-03-08 17:24:27 +08:00
cxhong
4038056879 Add more print statement for config switches scripts (#4872)
* Add more print statement for config switches scripts

* modified from reviews

* more modify from review
2018-03-06 11:25:38 +08:00
Jarrod Johnson
2ca56404d9 Add boot nvme support and filter small devices (#4778)
nvme devices were not autosensed as install candidates.

Also, devices smaller than 128 MB are filtered out, as they are likely
to be some media or similar.
2018-02-23 10:32:34 +08:00
chenglch
2da3f5140d Move sleep retry from xcat to goconserver
If cons script is waiting, goconserver could not aware of
the status of the console connection. This patch check
the environment when running the script, if it is gocons
and retrying is needed, exit immediately.
2018-02-09 12:11:48 +08:00
cxhong
9184d33e33 remove remote host key from known_hosts file (#4722) 2018-01-25 01:17:03 -06: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
cxhong
e501b26fd0 issues for install license file on accton switches (#4460) 2017-12-07 00:53:32 -06:00
Yuan Bai
1e0d14d58b enhance genimage for sles12sp2 (#4450) 2017-12-06 03:01:45 -06:00
cxhong
ac758a9c9d Modified configonie --ntp command (#4436) 2017-12-04 23:48:33 -06:00
Miro
aaacca80cd Fix merging in xdcpmerge.sh (#4328)
* Fixes in xdcpmerge.sh

Two fixes:
1. The grep pattern when finding duplicate usernames is missing ":" at the end. So, for example user "test" would also match "test2, etc.". Adding the ":" delimiter fixes the issue.
2. Another issue happens when the file to be merged is a superset of the files on the nodes. For example, if a new user is added and entire passwd file (that is otherwise identical) is sent to be merged. In this case, the $filebackup.nodups file, i.e. the original file with duplicates removed, becomes empty and the condition "if [ -s "$filebackup.nodups" ]" does not execute. Then the merged file ends up being original file with the merge file fully appended, clearly not what was intended.

This is solved by changing the condition to check for file existence "-a" rather then for size. Additionally, I also turn the logic around so that the duplicates are removed from the merge file and then added to the original file. I think this makes logic a bit cleaner and also ensures that existing entries are not reordered or changed in any way.

* Streamlining previous commit

Adjustment to previous commit, streamlining and simplifying logic. Once $mergefile.nodups is created, just concatenate it the original file.

* Update to xdcpmerge

No need to copy $filebackup to $curfile, they are the same.
2017-11-26 20:20:49 -06:00
Matt Ezell
50fdcec19d Fix #4330, close the socket 2017-11-21 09:44:02 -05:00
Gᴏɴɢ Jie
a362033084 Merge pull request #4220 from samveen/fix_xhrm
Improve xHRM
2017-11-21 10:21:11 +08:00
Matt Ezell
d862891201 Use IO::Socket to check BMC console port 2017-11-18 14:54:04 -05:00
Casandra Qiu
0b9aae5754 change log messages 2017-11-16 14:49:32 -05:00