2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

153 Commits

Author SHA1 Message Date
Markus Hilger
2643c1edd6 Remove useless executable bit 2024-05-07 16:19:25 +02:00
Mark Gurevich
71d3b76881 Check SUSE-brand file on SLES 2022-08-15 10:16:22 -04:00
Jarrod Johnson
f9f7cda833 Add missing shebangs to key scripts 2021-04-29 14:53:50 -04:00
Mark Gurevich
b912917911 Add option to bmcdiscover command to change default BMC password 2020-05-15 14:57:17 -04:00
Mark Gurevich
9e2ecbb65f Remove : from BMC_change_password script usage 2020-02-05 14:29:06 -05:00
cxhong
24727f3962 Remove stty command from Expect process 2020-02-02 14:40:24 -05:00
Mark Gurevich
30e1bfb9f7 Update message for BMC password change 2019-12-18 14:09:22 -05:00
Mark Gurevich
dc41af4e61 Update BMC_change_password.sh usage 2019-12-18 10:30:20 -05:00
Mark Gurevich
b4c16006a2 BMC password change script 2019-12-17 11:38:04 -05:00
Gᴏɴɢ Jie
d52f6600bc Fix shabang for some old scripts (#5824) 2018-11-20 20:16:15 +08:00
GONG Jie
2124252630 Remove trailing spaces in file xCAT-server/share/xcat/scripts/xdcpmerge.sh 2017-12-31 23:59:59 +00:00
GONG Jie
121b4cb59c Remove trailing spaces in file xCAT-server/share/xcat/scripts/xdcpappend.sh 2017-12-31 23:59:59 +00:00
GONG Jie
a2fb19d20a Remove trailing spaces in file xCAT-server/share/xcat/scripts/xcatconf4z 2017-12-31 23:59:59 +00:00
GONG Jie
68edae04a7 Remove trailing spaces in file xCAT-server/share/xcat/scripts/xHRM 2017-12-31 23:59:59 +00:00
GONG Jie
556dc557d0 Remove trailing spaces in file xCAT-server/share/xcat/scripts/setup-server-cert.sh 2017-12-31 23:59:59 +00:00
GONG Jie
38482dab82 Remove trailing spaces in file xCAT-server/share/xcat/scripts/setup-local-client.sh 2017-12-31 23:59:59 +00:00
GONG Jie
20fd49c715 Remove trailing spaces in file xCAT-server/share/xcat/scripts/setup-dockerhost-cert.sh 2017-12-31 23:59:59 +00:00
GONG Jie
44cf5bec5b Remove trailing spaces in file xCAT-server/share/xcat/scripts/mkay4z 2017-12-31 23:59:59 +00:00
GONG Jie
127ee70123 Remove trailing spaces in file xCAT-server/share/xcat/scripts/genduiduuid.sh 2017-12-31 23:59:59 +00:00
GONG Jie
b3d72c622b Remove trailing spaces in file xCAT-server/share/xcat/scripts/configonie 2017-12-31 23:59:59 +00:00
GONG Jie
96c63582f0 Remove trailing spaces in file xCAT-server/share/xcat/scripts/configMellanox 2017-12-31 23:59:59 +00:00
GONG Jie
620d19fade Remove trailing spaces in file xCAT-server/share/xcat/scripts/configBNT 2017-12-31 23:59:59 +00: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
Bin Xu
961108c53b updatenode MERGE mode does not support update an existing entry 2018-03-26 18:06:49 +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
cxhong
9184d33e33 remove remote host key from known_hosts file (#4722) 2018-01-25 01:17:03 -06:00
cxhong
e501b26fd0 issues for install license file on accton switches (#4460) 2017-12-07 00:53:32 -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
Samveen Gulati
76b477c398 Error redirection for checks 2017-11-14 08:38:24 +00:00
Samveen Gulati
07add8e288 Fix back multi-ip transfer from port to bridge 2017-11-14 08:29:08 +00:00
Samveen Gulati
5e93ea3b39 Fix logic for bridgeprereq parameter parsing 2017-11-14 08:28:30 +00:00
Samveen Gulati
c4f4760eb4 xHRM: migrate existing IP conf of $PORTS to bridge 2017-11-14 07:38:26 +00:00
Samveen Gulati
99ae556314 xHRM: more improvments via ShellCheck 2017-11-14 07:38:26 +00:00
Samveen Gulati
817009c218 xHRM: improvments via ShellCheck 2017-11-14 07:38:26 +00:00
Samveen Gulati
3b05e6d633 xHRM: modernize command substitution 2017-11-14 07:38:26 +00:00
Chuck Brazie
a8a57f64a4 Any updates since merge in October
Change-Id: I562c4069f5008a5faf71091fb243d349740052c1
2017-10-19 14:18:47 -04:00
zet809
9c5446645e Merge pull request #4110 from cxhong/3989
Add more configuration support for Mellanox switches
2017-10-19 14:54:01 +08:00
Casandra Qiu
0f2cba3ce7 use nic facing ip address instead of master 2017-10-18 15:25:55 -04:00
zet809
a6661f84b7 Merge pull request #2927 from zVMopenstack/ZVM_XCAT_DEV
Merge the changes made for zVM into the xCAT development branch
2017-10-18 17:06:31 +08:00
Casandra Qiu
eac35e7e3d Add more configuration support for Mellanox switches 2017-10-16 15:26:37 -04:00
Yuan Bai
ac0ea2d2af fix xHRM fails when installnic is not set (#4060)
* fix xHRM fails when installnic is not set

* polished

* polished
2017-10-10 03:49:52 -05:00
Chuck Brazie
c012b45ec1 Merge branch 'master' into ZVM_XCAT_DEV 2017-10-03 09:44:06 -04:00
cxhong
20e1e7213c Support config snmpv1/2 community string for Mellanox switches during discovery phase (#4030)
* Support config snmpv1/2 community string for Mellanox switches during
discovery phase

* checking snmpversion defined in the switches table
2017-09-28 22:07:55 -05:00
Samveen Gulati
bf9a960140 xHRM: fix minor code bug 2017-09-19 12:24:57 +00:00
Casandra Qiu
85957476f9 Add netmask to configonie script for change ip 2017-09-14 16:43:31 -04:00
cxhong
6e5b960886 Support syslog for Cumulus Switch (#3850) 2017-09-06 10:19:19 +08:00
Bin Xu
2991ec1e59 Fix 3749, handle '+' and '-' in id when merging /etc/passwd (#3771)
* Fix 3749, handle '+' and '-' in id when merging /etc/passwd

* Add some comments
2017-08-25 15:13:51 +08:00
Chuck Brazie
e9029f484f Merge branch 'master' into ZVM_XCAT_DEV 2017-08-09 09:31:22 -04:00