2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

759 Commits

Author SHA1 Message Date
Mark Gurevich
88b9e828ed Improve readability of generated AutoYaST for SLES15 2022-02-22 13:52:55 -05:00
Mark Gurevich
89a0869250 Update SLES15 compute template 2022-01-27 15:18:46 -05:00
Simon Fowler
55c521a405 Add initial support for deploying Ubuntu 20.04 nodes.
This configures automated installation using the subiquity installer, as
documented at
https://ubuntu.com/server/docs/install/autoinstall-quickstart and other
locations on the Internet.

Installation uses the NFS export of /install, and configures the
installer to use the nocloud-net datasource, creating a per-node
directory containing the processed template file as the user-data file,
and an empty meta-data file.

Kernel and initrd files are pulled from the casper/ directory under the
package dir.

Unnecessary elements of the kernel command line have been removed in the
subiquity installer path.

Support has been added for selecting a subiquity specific default
template, as well as an updated pre-install script and some minor POSIX
shell compliance fixes for the getinstdisk script.
2021-12-13 11:54:49 +11:00
Mark Gurevich
890aa93bd1 Support Rocky Linux on service nodes 2021-07-27 10:07:01 -04:00
fangjzh
b9585a78e1 add Rocky Linux 8.4 support 2021-07-13 07:52:55 +08:00
Mark Gurevich
c230b098b4 Use a fixed redact string 2021-06-30 14:31:37 -04:00
Mark Gurevich
041e847279 Update comment 2021-06-29 14:19:41 -04:00
Mark Gurevich
85951981bb Redact passwords in log files 2021-06-29 13:48:33 -04:00
Mark Gurevich
3651690830
Merge pull request #6919 from viniciusferrao/oraclelinux
Support for Oracle Linux 7 and Oracle Linux 8
2021-04-20 16:52:34 -04:00
Vinícius Ferrão
75a6cd03fe Fixes statefull installation with Oracle Linux 2021-04-16 17:18:21 -03:00
Mark Gurevich
42ffdddf9b For x86 also need to exclude Product-SLED 2021-03-16 17:33:13 -04:00
Mark Gurevich
d464c4fc6c Add support for SLES15 SP2 2021-03-16 16:08:35 -04:00
Mark Gurevich
3b65b2d89e Extend XML Simple to pass parser options 2021-03-11 09:26:18 -05:00
Wai Yee Wong
0e4ce55881 Remove experimental warnings of using given-when and smartmatch. 2020-09-28 21:50:17 -04:00
Mark Gurevich
5dbe9f2026 Openbmc hardware control with OP940 2019-09-12 14:38:21 -04:00
Pythagoras Watson
bd0ad1ba43 Reduce maximum socket buffer size so select works
The maximum socket receive buffer size (SO_RCVBUF) is set from the value
in /proc/sys/net/core/rmem_max.  When this value is close to INT_MAX,
the select() system call used by IO::Select->can_read() never returns
true.  This causes packets to never be read.  Therefore, reduce the
maximum socket receive buffer size to a value which works.
2019-07-16 10:06:58 -07:00
cxhong
3ec008db60 Pick correct pkglist/tmpl files based on the osvers 2019-06-10 16:53:05 -04:00
GONG Jie
9b845d1b11 Remove the configuration part 2019-04-30 15:25:03 +08:00
GONG Jie
c02eaba033 Fix the processing of prefix zero 2019-04-30 13:24:47 +08:00
GONG Jie
480fbe177c Reconstruction of the osimage resources search policy 2019-04-30 13:24:47 +08:00
bxuxa
26fb874a84 Fix a code error 2019-03-21 17:09:29 +08:00
zet809
d4d4a0c1b5
Merge pull request #6150 from robin2008/6145
Avoid noisy warning message on rh8 for makegocons
2019-03-21 16:59:53 +08:00
bxuxa
0ff9bc0be5 Ignore the disable when not installed, not using package checking as we use a fake package there 2019-03-21 16:46:20 +08:00
GONG Jie
d4715d2745 Fix #UNCOMMENTOENABLEDEBUGPORT# replacement 2019-03-21 16:25:10 +08:00
Gᴏɴɢ Jie
14f993bc14 Merge master branch to RHEL 8 branch (#5953)
* rpower for redfish support

* rsetboot for redfish support

* recover

* modify depending on discussion and comments

* refine test case xcatd_start (#5932)

* Update small text in the diskful support example for cuda_power9_setup

Fix small issue mentioned in 5852

* rsetboot for redfish support

* Fix issue 5933: xCAT-openbmc-py build failed

* Fix remoteshell compatibility with custom Match (#5936)

If a user has a custom Match directive, remoteshell would
create an invalid configuration.  Fix by ensuring we are
outside of a match context by doing Match all explicitly.

* fix issue PR #5936 resulted in remoteshell failed in rhels6.10 #5944

* refine xcat-inventory backend testcase (#5946)

* add test case for issue 3602: confignetwork cannot work when regular expression is used in nics table

* add lsdef to get more debug info

* Revert "fix issue PR #5936 resulted in remoteshell failed in rhels6.10 #5944"

* revert PR Fix remoteshell compatibility with custom Match #5936
2019-01-15 17:33:59 +08:00
GONG Jie
18b416dc06 Use shell function base64decode() instead of python 2019-01-08 13:42:49 +08:00
yangsong
7a18f5beee fix issue Function "httpport" can not work on ubuntu + netboot=grub2 scenario #5869 (#5871)
* support site.httpport in ubuntu diskless

* fix issue Function httpport can not work on ubuntu + netboot=grub2 scenario #5869
2018-12-13 14:38:55 +08:00
yangsong
92c019bdb3 set default value for $::XCATSITEVALS{httpport} if site.httpport is not specified (#5780) 2018-11-09 15:28:17 +08:00
yangsong
f55b3f867b several issues on site.httpport in otherpks and ospkgs (#5777)
* correct several issues

* refine ospkgs to support site.httpport
2018-11-08 17:50:14 +08:00
Yuan Bai
95ca105635 enhancements for sle15 diskful CN deployment (#5605)
* add sle dir for copycds

* remove HPC packages from sle15 template

* copycds support ppc64le sle15

* support packages products for sle15

* create repos  for all products in sle15 Package ISO

* fix deployment status postbooting in sle15

* support sle15

* add copycds example for sle15

* generate add_on product

* polished

* adjust product_dir
2018-09-18 18:03:32 +08:00
yangsbj
763d7bd29f fix issue #105 in xcat-inventory, correct the format of export entries in osimage.environvar 2018-08-31 04:25:21 -04:00
GONG Jie
903dd6b41f Remove trailing spaces in file xCAT-server/lib/perl/xCAT/xcatd.pm 2017-12-31 23:59:59 +00:00
GONG Jie
c0c32bb85c Remove trailing spaces in file xCAT-server/lib/perl/xCAT/Template.pm 2017-12-31 23:59:59 +00:00
GONG Jie
80e5331ec2 Remove trailing spaces in file xCAT-server/lib/perl/xCAT/SvrUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie
aa94a24dbd Remove trailing spaces in file xCAT-server/lib/perl/xCAT/RShellAPI.pm 2017-12-31 23:59:59 +00:00
GONG Jie
0bf2fd366e Remove trailing spaces in file xCAT-server/lib/perl/xCAT/Postage.pm 2017-12-31 23:59:59 +00:00
GONG Jie
de42ee5d2e Remove trailing spaces in file xCAT-server/lib/perl/xCAT/OPENBMC.pm 2017-12-31 23:59:59 +00:00
GONG Jie
06919d32c1 Remove trailing spaces in file xCAT-server/lib/perl/xCAT/MellanoxIB.pm 2017-12-31 23:59:59 +00:00
GONG Jie
240512a3da Remove trailing spaces in file xCAT-server/lib/perl/xCAT/IPMI.pm 2017-12-31 23:59:59 +00:00
GONG Jie
cdc2e43e00 Remove trailing spaces in file xCAT-server/lib/perl/xCAT/Goconserver.pm 2017-12-31 23:59:59 +00:00
xuweibj
d74f1eed53 fix issue 5288, print out management node when summary for rflash (#5401) 2018-07-18 10:04:10 +08:00
cxhong
c922ad2cf7 Find correct template and postinstall file to build osimage for copycds -n command (#5300)
* Parse copycd -n options to get correct tmpl and postinstall file

* Add support for Ubuntu
2018-06-21 13:38:31 +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
Bin Xu
18c5afc0f4 support secure root method (#5286)
- support xcat_secure_pw:<user> API in credential plugin
 - for diskless, if enabled secure root, packimage will not write root password into image
 - for stateful, if enabled secure root, nodeset will not write root password into config file
 - and 'remoteshell' will update shadow file accordingly
2018-06-15 10:28:51 +08:00
xuweibj
cd689a9a65 Framework of redfish support perl part (#5269) 2018-06-05 13:07:29 +08:00
robin2008
a307bfa96a Fix code error to generate the right socket file name based on the caller PID (#5257) 2018-05-28 21:01:05 +08:00
Mark Gurevich
ac6b632b6b
Merge pull request #5189 from xuweibj/openbmc_ipmi
modify ipmi rsp check to support openbmc ipmi interface
2018-05-11 07:53:34 -04:00
XuWei
582168e31e modify ipmi rsp check to support openbmc ipmi interface 2018-05-10 03:38:03 -04:00
zet809
5d6e9fe7a0
Merge pull request #5061 from robin2008/ipmi_debug
report ipmi_debug message under node name (#5033)
2018-05-03 15:17:55 +08:00
Mark Gurevich
a52c70c2bd Missing closing bracket 2018-04-23 13:24:28 -04:00