Jarrod Johnson
cfa16237e1
Dismantle initramfs by default in EL9/EL10 diskless
...
If debugssh is not requsted, the initramfs is not needed.
Do not unshare the mount namespace, leave the kernel relevant namespace 'normal'
Remove some initramfs content to free up some memory.
2025-07-29 14:26:43 -04:00
Jarrod Johnson
7066f85520
Merge remote-tracking branch 'xcat'
2025-07-29 07:03:22 -04:00
Jarrod Johnson
8c6f36adf3
Fixes for ansible running
...
Newer ansible requires deferred plugin initialization explicitly,
support either ansible norm.
Reliably mark a play as complete even if facing a very early init
problem, e.g. if ansible shebang points to a non-existant python.
Fix incorrect association of stderr to tasks, and present
stderr to the client exactly once.
2025-07-28 15:55:16 -04:00
Jarrod Johnson
33cee4174e
Merge pull request #196 from Obihoernchen/doclink
...
Update documentation link
2025-07-25 15:03:49 -04:00
Jarrod Johnson
47710756a5
Implement mtu for netplan backend
2025-07-25 15:01:26 -04:00
Jarrod Johnson
21429c6d7d
Implement mtu for networkmanager backend
2025-07-25 14:48:03 -04:00
Jarrod Johnson
ff0c11e919
Add mtu to net attributes
2025-07-25 14:47:46 -04:00
Jarrod Johnson
bf209a8009
Explicitly recognize fe80::/64 as 'local'
...
For various reasons, it is likely/expected for fe80:: to fail the 'local'
check. This is fine in most contexts, except for credserver and ssdp.
ssdp already special cased fe80::, so special case fe80:: in credserver
as well.
2025-07-24 16:20:12 -04:00
Jarrod Johnson
6ec072be9d
Fix EL10 for ARM nodes
2025-07-22 14:25:39 -04:00
Jarrod Johnson
79e44e420a
Fix console handling for vcenter and proxmox plugins
2025-07-22 09:26:50 -04:00
Markus Hilger
5a0b2468f6
Update documentation link
2025-07-11 03:08:50 +02:00
Jarrod Johnson
13d9fe2712
Revert useinsecureprotocols to any group value after adoption
2025-07-02 09:55:24 -04:00
Jarrod Johnson
5028ed9f07
Avoid set changed during iteration
2025-07-01 15:45:24 -04:00
Jarrod Johnson
05dbbd6ce0
Explicitly check root user keys
...
Replace simple existence check
with a check that assures the content also matches.
2025-06-25 16:10:26 -04:00
Jarrod Johnson
61749c3649
Support older Pillow libraries
...
Some distributions bundle older pillow, and we have
a way to support them.
2025-06-25 13:47:29 -04:00
Jarrod Johnson
1f3b84cc9d
Implement Windows iso extraction
...
If a user has custom
windows categories, match
them to media import.
To do this, we needed to go to pycdlib, as libarchive can't
do UDF-only isos.
For now, this has no progress indication, but does extract it similar
to most Linux distributions are done.
2025-06-24 16:32:31 -04:00
Jarrod Johnson
ac42c1b4c7
Skip IPv6 lookups on IPv4 context
...
For DHCPv4 context, it makes no sense to bother with IPv6 addresses that cannot be used.
2025-06-24 13:40:40 -04:00
Jarrod Johnson
e489d2d532
Fix setupssh behavior on nearly full /tmp/
2025-06-18 08:55:13 -04:00
Jarrod Johnson
7bde5c4291
Fix netifaces fallback
...
If psutil is not available, continue with netifaces as before
3.13.3
2025-06-17 15:43:15 -04:00
Jarrod Johnson
4009aa1aa1
Query the BMC rather than the SMM itself
2025-06-17 15:13:31 -04:00
Jarrod Johnson
935691d1f3
Fix util for pre-psutil distributions
2025-06-17 14:20:17 -04:00
Jarrod Johnson
7fd9a207b1
Switch el10 to el9 binaries for diskless
...
The libcrypt change has to be accommodated
2025-06-17 10:58:54 -04:00
Jarrod Johnson
551862e85e
Only start ssh if requested on cmdline
2025-06-17 10:53:55 -04:00
Jarrod Johnson
a36040fa92
Include el10 imgutil contents
2025-06-17 10:39:34 -04:00
Jarrod Johnson
b74732ecfa
Change to symlinks for most of el10 diskless
...
Most is common with el9
2025-06-17 10:30:49 -04:00
Jarrod Johnson
bb7e0d1d1e
Correct mistake in the previous commit
2025-06-17 10:27:40 -04:00
Jarrod Johnson
cb1f06fecf
Add EL10 Diskless
2025-06-17 10:14:09 -04:00
Jarrod Johnson
dcd59667e4
Add a secondary copernicus loop to diskless
...
Sometimes 30 seconds just isn't enough.
2025-06-11 16:19:13 -04:00
Jarrod Johnson
5a96c7a20c
Change to grep -E
...
This avoids a obsolescence message in rpm update
2025-06-11 15:57:39 -04:00
Jarrod Johnson
7d49c5f9be
Do not error out on listing profiles/distributions before any exist
2025-06-11 15:48:53 -04:00
Jarrod Johnson
0ec5cf5c5e
Make the keysign pre script readable
2025-06-11 15:48:23 -04:00
Jarrod Johnson
6b94a8fa22
Add openssh-keysign to el10 distributions
2025-06-11 15:19:52 -04:00
Jarrod Johnson
45fa229f9f
Reduce columns to fit in X tiling
...
Check if right side of window will fit instead of
left side.
2025-06-11 14:24:25 -04:00
Jarrod Johnson
071433a60a
Handle underscore in volume name
...
Only the first underscore would be in the volume groub name,
the rest would be a part of the volume name, which should be
excluded.
2025-06-11 08:00:58 -04:00
Jarrod Johnson
7dd5c36e78
Remove EL7, add EL10 to the spec for imgutil
2025-06-10 13:25:15 -04:00
Jarrod Johnson
26f3ee539f
Add el10 to imgutil spec
2025-06-10 13:01:08 -04:00
Jarrod Johnson
dcfb028ba9
Add popular virtual machine storage drivers to imgutil
2025-06-09 15:57:02 -04:00
Jarrod Johnson
59dc7b5426
Fix another error in the psutils work
2025-06-09 14:45:43 -04:00
Jarrod Johnson
65b613219e
Amend mistake in previous commit
2025-06-09 14:33:12 -04:00
Jarrod Johnson
c7d41f8a4b
Support and prefer psutil
...
The netifaces library seems dead, we can use psutil instead
which seems more popular.
2025-06-09 14:12:31 -04:00
Jarrod Johnson
5f9250c492
Add el10 clause
2025-06-06 20:14:07 -04:00
Jarrod Johnson
169fd976ce
Compensate for out of sync resize behavior
...
During the async vnc behavior, a copy of the geometry variables
are used that are out of sync.
Workaround by forcing a resize again after the async tasks conclude.
2025-06-06 10:56:50 -04:00
Jarrod Johnson
d063f50a9c
Fix a possible breakage due to transmit error
...
SSDP snoop could have been brought down by
a non-viable transmit, tolerate that failure.
2025-06-06 10:52:27 -04:00
Jarrod Johnson
6a90e1cc77
Implement a VNC to screenshot
...
For Proxmox, since no convenient screenshot mechanism is available,
instead do vnc.
2025-05-30 16:26:34 -04:00
Jarrod Johnson
7aaa350679
Fix missing import from stats
2025-05-30 15:48:32 -04:00
Jarrod Johnson
a1a144d211
Implement plugin managed VNC
...
To extend beyond the OpenBmc wrapped dialect of VNC,
provide mechanism for plugins to provide
arbitrary cookie, password, url, and protocols parameters.
Implement for ProxMox.
2025-05-30 15:48:15 -04:00
Jarrod Johnson
8d8db070eb
Fix mistake in ctypes call in userutil
2025-05-30 15:19:42 -04:00
Jarrod Johnson
4fd7021581
Add EL10 distributions
2025-05-28 11:15:22 -04:00
Jarrod Johnson
250de6133d
Stop trying to save a fingerprint that didn't exist
2025-05-27 15:46:29 -04:00
Jarrod Johnson
40f3ca73c4
Fix mistake in RHEL10 recognition commit
2025-05-22 16:59:16 -04:00