Vinícius Ferrão
dd53d1bff7
fix: rspconfig verification fails when setting BMC IP to current value
...
The verification logic in rspconfig_response uses a mutually exclusive
if/else to check for the old IP (origin_type) and new IP (check_result).
When setting the same IP, both match the same entry but only origin_type
gets set — check_result stays 0 and the command reports "Config IP failed".
Make the two checks independent so both can match the same IP object.
Fixes #5121
2026-04-26 04:36:07 -03:00
Vinícius Ferrão
2d07295d8c
fix: skip empty local-repository.tmpl in nodeset
...
When a pkgdir has no valid repodata, Yum.pm creates an empty
local-repository.tmpl file. Template.pm then reads it and generates
an empty yum repo config block in the kickstart. Adding a -s check
skips empty template files instead of silently including them.
Revives the fix from PR #4769 which was closed without merging.
Fixes #3572
2026-04-25 19:04:20 -03:00
Vinícius Ferrão
e0e04f017d
Render Kea additional classes by version
2026-04-23 19:39:25 -03:00
Vinícius Ferrão
714c0785b6
Preserve OPAL conf-file handling for Kea
2026-04-23 19:19:29 -03:00
Vinícius Ferrão
fcd22757d2
Refine Kea xNBA handling and validation notes
2026-04-23 11:14:01 -03:00
Vinícius Ferrão
8399d88509
Address Perl quality findings
2026-04-23 03:04:37 -03:00
Vinícius Ferrão
6f3d9bb9d1
Add Kea DHCP backend
2026-04-23 02:01:33 -03:00
Daniel Hilst Selli
baa2380cd2
fix: Move dracut call to the .spec
...
This fixes a problem where the dracut image was pulling artifacts from
the build host and not the mock image, e.g. building for EL9 in EL10.
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com >
2026-04-14 11:15:56 -03:00
Daniel Hilst Selli
1b0deaf9af
fix: Fix dhcp-client dependency failure during genimage
...
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com >
2026-04-01 13:02:35 -03:00
Daniel Hilst Selli
fccdc3ec64
fix: Fix genesis-base package build
...
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com >
2026-03-30 20:46:42 -03:00
Daniel Hilst Selli
3569fbe77e
Revert "fix: Replace yaboot with grub2 for PPC nodediscovery"
...
This reverts commit 90a84dc375 .
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com >
2026-03-27 11:14:47 -03:00
Daniel Hilst Selli
42d23c7d92
fix: Fix regresion in makedns in update mode
...
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com >
2026-03-20 13:26:46 -03:00
Daniel Hilst Selli
90a84dc375
fix: Replace yaboot with grub2 for PPC nodediscovery
...
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com >
2026-03-18 18:20:10 -03:00
Daniel Hilst Selli
d309601a30
fix: Fix templates for EL10 in ppc64le enviroment
...
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com >
2026-03-12 11:27:37 -03:00
Daniel Hilst Selli
4780ba9400
fix: Fix genesis loop where osimage value grows at each boot
...
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com >
2026-02-26 13:54:56 -03:00
Daniel Hilst Selli
0e0ead786f
fix: Fix genesis & sequential node discovery in x86_64
...
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com >
2026-02-25 14:08:40 -03:00
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