2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-04-12 20:01:29 +00:00

10368 Commits

Author SHA1 Message Date
Daniel Hilst Selli
048d82768e doc: Add comments to /etc/init.d/xcatd changes
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-01-26 13:51:07 -03:00
Daniel Hilst Selli
3a1d458df7 fix: Remove -extension from openssl req call in setup-server-cert.sh
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>

See: https://github.com/openssl/openssl/issues/22966#issuecomment-1858396738
2026-01-22 11:30:37 -03:00
Daniel Hilst Selli
83f6b74302 fix!: Skip settunnables if running inside a container
This commit adds an early return to xcatconfig settunnables function.
This function set parameters at

    /proc/sys/net/ipv4/neigh/default/gc_thresh1
    /proc/sys/net/ipv4/neigh/default/gc_thresh2
    /proc/sys/net/ipv4/neigh/default/gc_thresh3

And set sysctl attributes by writing to /etc/sysctl.d/ and
/etc/sysctl.conf

These are tunning network parameters for running on production
and should not affect the overall function for testing purposes.

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-05 13:33:57 -03:00
Daniel Hilst Selli
bfe52d03a7 fix: Fix build with mock
Add buildrpms.pl to build RPMs in parallel using mock
Add xCAT-buildkit to the build list
Fix build dependency in xCAT-buildkit.spec
Add fallback in /etc/init.d/xcatd for /etc/rc.d/init.d/functions

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-05 00:33:47 -03:00
Daniel Hilst Selli
460451cef2 fix: Fix installation warnings regarding egrep and grep
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-28 13:06:02 -03:00
Daniel Hilst Selli
a03b61a2eb fix: Fix Rocky Linux template and pkglist
Make it point to rhels10 as these files exists now

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-27 20:07:01 -03:00
Daniel Hilst Selli
786d7d93e1 fix: Fix RPM dependencies
Add initscripts as dependency and openssl if we're
building for EL10 or greater.

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-27 18:06:33 -03:00
Daniel Hilst Selli
b5e35483a2 fix: Fix certificate and hostkey generation for EL10
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-27 17:51:34 -03:00
Daniel Hilst Selli
54742d7d57 fix: Fix makedns for Net::DNS >= 1.36 and bind >= 9.18 2025-11-27 12:12:03 -03:00
Daniel Hilst Selli
3cb359e711 feat: Add support for RHEL 10
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-26 16:07:19 -03:00
Kilian Cavalotti
62522bc29f Support /etc/sysctl.d/ for Debian-based systems (#7509)
On Debian-based systems, /etc/sysctl.conf doesn't exist and
/etc/sysctl.d/ directory is used instead. Modified xcatconfig
to prefer /etc/sysctl.d/99-xcat.conf when the directory exists,
falling back to /etc/sysctl.conf for backward compatibility.
2025-11-14 01:50:10 +01:00
davidmonro
661b579927 mknb: look for newer types of ssh keys to insert into the authorized keys file in the image (#7502) 2025-08-23 15:30:13 +02:00
Markus Hilger
10a485dca5 Improve genimage AlmaLinux support 2025-05-23 19:27:37 +02:00
Markus Hilger
ddbeb291b5 Fix certificate creation with OpenSSL >= 3.2 (fixes #7481) 2024-12-04 18:36:21 +01:00
vigo332
b43dc3eb20 Add support for nvme device partition names. 2024-10-31 16:17:33 -04:00
Markus Hilger
3930b55550 Merge pull request #7047 from Obihoernchen/vm-macvtap
Create macvtap VM nics
2024-08-28 02:23:21 +02:00
Markus Hilger
c8cb1d6a38 Merge pull request #7257 from Obihoernchen/aarch64
Initial aarch64 support, cross arch stateless images with qemu-user-static, grub2 for x86
2024-07-25 16:12:11 +02:00
Marc Nguyen
b9baaa9c98 Fix hack_uname() of mlnxofed_ib_install: POSIX compliance (#6989) 2024-06-25 17:09:17 +02:00
Andrey Kiryanov
8432960e02 Automatically add biosboot partition on >2TB drives with RHEL 7/8 (#7400)
Co-authored-by: Andrey Kiryanov <kiryanov_ak@pnpi.nrcki.ru>
2024-06-24 23:37:02 +02:00
Markus Hilger
f42011a493 Unify shebang lines 2024-05-07 16:43:07 +02:00
Markus Hilger
dc13997f14 Remove even more useless executable permissions 2024-05-07 16:34:59 +02:00
Markus Hilger
df64bf8feb Add missing shebang lines 2024-05-07 16:31:30 +02:00
Markus Hilger
2643c1edd6 Remove useless executable bit 2024-05-07 16:19:25 +02:00
Markus Hilger
a5ed2d690e Fix goconserver path for EL9 2024-04-21 17:09:53 +02:00
Markus Hilger
55d6d13fe4 Add perl-lib required for xCAT on EL9 2024-04-21 16:13:13 +02:00
Samveen
e54aabef0e Fix #7433: correct typo in variable name
Signed-off-by: Samveen <samveen@samveen.in>
2024-04-13 12:37:01 +05:30
Samveen
e582521ec7 Fix #7434: add debian to check
Signed-off-by: Samveen <samveen@samveen.in>
2024-04-13 12:36:08 +05:30
Jarrod Johnson
b4bda3e80f Add support for non-zero LUN
Systems are now more likely to do non-zero LUN
2024-02-28 12:34:27 +01:00
Markus Hilger
b27f419b25 qemu-user-static support for genimage + aarch64 support 2024-02-21 11:59:50 +01:00
Markus Hilger
40ac583410 Do not use hacked armgrub plugin 2024-02-21 11:59:50 +01:00
Markus Hilger
826a8a8308 Support x86, ppc64 and arm in grub
Arm and ppc64 do not have linuxefi and initrdefi.
2024-02-21 11:59:50 +01:00
Markus Hilger
6403987400 new kernel for aarch64 2024-02-21 11:59:50 +01:00
Jarrod Johnson
1b44680217 Preliminary aarch64 support
Add hooks to do a draft implementation of aarch64 using grub
2024-02-21 11:59:50 +01:00
Obihörnchen
540fbf2dfd Merge pull request #7417 from Obihoernchen/fix-dracut-warnings
Fix dracut warnings during genimage on newer OSs
2024-02-21 03:29:42 +01:00
Obihörnchen
2bb237eda8 Merge pull request #7419 from Obihoernchen/el9_osimages
Add osimage symlinks for EL9 distros
2024-02-21 03:28:19 +01:00
Obihörnchen
fdb4c9d46e Merge pull request #6391 from jjohnson42/addsha256hmac
Implement HMAC-SHA256 in xCAT IPMI
2024-02-19 19:30:36 +01:00
Obihörnchen
a6933c8727 Merge pull request #7386 from samveen/fix_6525
Add workaround for deprecated old commands in sles-15 into go-xcat
2024-02-19 19:26:08 +01:00
Markus Hilger
3fca2a3031 Fix dracut warnings during genimage on newer OSs 2024-02-12 16:42:03 +01:00
Markus Hilger
172678ac87 Allow IPoIB MAC addresses for provisioning via IPoIB
Examples:

EFI Boot MAC address: 20:b8:ce:f6:03:00:31:33:3e
OS MAC address: b8:ce:f6:31:33:3e
2024-02-12 16:41:43 +01:00
Markus Hilger
1783d53bb1 Add osimage symlinks for EL9 distros 2024-02-10 03:13:55 +01:00
Samveen
3c0e09a116 Add workaround for sles-15 in go-xcat 2023-05-19 10:20:32 +05:30
Wai Yee Wong
1a751e3379 Reduce the VNC password from 20 characters to 8 2023-03-24 16:58:00 -04:00
Mark Gurevich
884d9d8a10 Handle RESTAPI parameters with null values 2023-03-20 08:52:39 -04:00
Mark Gurevich
a5bf52445a Move SLES12 Postgres package from pkglist to otherpkglist 2023-03-13 10:32:12 -04:00
Mark Gurevich
0b2be4ba5a SLES Service Node pkglist should include Postgres 2023-03-09 14:16:50 -05:00
Mark Gurevich
b35fc1b0e7 go-xcat should not use available option 2023-03-02 14:12:43 -05:00
Mark Gurevich
60dfa47f37 Strip out extra text from version string 2023-03-01 11:45:42 -05:00
Mark Gurevich
1098e6943b Fix bind version comparison 2023-03-01 10:25:20 -05:00
Mark Gurevich
0c288b36db SLES15.4 genimage dracut rpm version 2023-02-21 16:58:45 -05:00
besawn
0cde47aa8a Merge pull request #7295 from Obihoernchen/cbc_3
Remove deprecated blocksize argument
2023-02-17 13:44:48 -05:00