Jarrod Johnson
a4ba92a2e7
Retry network bringup
...
ESXi may be slow in being ready for network bringup. Workaround
by retrying.
2025-10-01 13:08:17 -04:00
Jarrod Johnson
6938bba2d3
Have confignet pause until connectivity restored
...
If we are reconfiguring network for a diskless node, wait for
things to settle back in before continuing.
2025-09-26 13:42:29 -04:00
Jarrod Johnson
871685ea20
Correct missing closure of if
2025-09-25 15:49:25 -04:00
Jarrod Johnson
a480cc73df
Add connectivity check to esxi ident bringup
...
If using the identity image bringup
with dhcp, be more careful about waiting
for connectivity before proceeding.
2025-09-25 15:29:33 -04:00
Jarrod Johnson
39eb32df38
Test connection on net cfg apply
...
When network configuration is applied, wait until we
can reach the deployment server again before exiting.
This should make us more robust against various potential delays after
changing the nature of network interfaces.
2025-09-25 15:18:18 -04:00
Jarrod Johnson
3505fe36e6
Remove hiddenmenu
...
This no longer applies to most grub2
2025-09-25 14:07:27 -04:00
Jarrod Johnson
29accaa494
Change grub to not prompt
...
Sometimes grub can get stuck unexpectedly waiting for interaction. Try to get away from this by default
by setting the timeout to 0.
2025-09-25 10:09:25 -04:00
Jarrod Johnson
f66093680b
Attempt to loop on reconfiguring networking
...
This may induce DHCP to be retried
2025-09-25 10:08:05 -04:00
Jarrod Johnson
97d4015b09
Handle memory inventory without type indicated
2025-09-22 15:21:53 -04:00
Jarrod Johnson
184132c398
Fix collective manager candidates not in nodelist
...
For switch operations, need to carry over the same logic as other evaluations.
2025-09-19 19:41:54 -04:00
Jarrod Johnson
ac7fdb3ef7
Enhance message for enclosure based discovery
...
If nodes are accidentally omitted, but present, provide a hint that may clarify
the situation.
2025-09-19 15:46:18 -04:00
Jarrod Johnson
d7879bad5b
Improve robustness of Ubuntu net bringup
...
If using DHCP, have the loop to validate connectivity repeat.
2025-09-19 15:44:55 -04:00
Jarrod Johnson
8911193aca
Implement a test with retry for basic communication
...
confuesbox is likely to be a very early utility, and the relevant network is at high risk of being merely 'partially' up.
2025-09-19 11:50:12 -04:00
Jarrod Johnson
e7e8daafea
Merge pull request #198 from henglikuang/logdirectory
...
An effort was made at one point to have log directory configurable, but no way was actually done
to make it accessible.
This corrects that.
2025-09-18 15:19:07 -04:00
Jarrod Johnson
3f9a13ed6f
Ensure certfile is blanked before writing to it
2025-09-18 15:14:39 -04:00
Jarrod Johnson
500cdf7535
Change boot.img to boot.iso for Windows
...
Some things expect an iso to be named as such. This drives different handling, but
there's little choice in the matter.
2025-09-18 08:55:09 -04:00
Jarrod Johnson
22c8921455
Place identity files loose in directory as well
...
Some OS deployment mechanism may wish to convey the identity information more loosely. For those, it's convenient if the files are loose instead
of needing extraction from a VFAT image.
2025-09-17 09:25:40 -04:00
Jarrod Johnson
ebcf7d7bf8
Refresh genesis build version
2025-09-15 11:21:03 -04:00
Jarrod Johnson
7a2cb80f6a
Make hmac import optional
...
Some environments do not have this module
2025-09-12 16:57:37 -04:00
Jarrod Johnson
dd2b7be2ca
Bump genesis version
2025-09-12 16:15:00 -04:00
Jarrod Johnson
678bd6052a
Correct path to util-linux in genesis build
2025-09-12 15:59:48 -04:00
Jarrod Johnson
cb5fcf077a
Fix incorrect character in release filename
2025-09-12 08:50:32 -04:00
Jarrod Johnson
5f26fb73e6
Enable apiclient to be more self-sufficient
...
Provide a totally 'clortho' and 'copernicus' free behavior.
This allows some flows to skip the cpio addons to go straight to python.
Some scenarios demand the utilities (initramfs) and others are more awkward with the utilities,
so we enable both.
2025-09-09 16:47:44 -04:00
Jarrod Johnson
c9ca199b16
Fix preference of netplan
...
If netplan and nmcli both exist, the intent was to prefer netplan.
However, there was a mistake that caused nmcli to be the most preferred.
2025-09-09 11:17:26 -04:00
Jarrod Johnson
8109adaabf
Add BFB recognition to osimage parsing
...
Recognize BFB embedded OS as a potential osdeploy target.
This is toward the end of identifying the appropriate 'addons.cpio' for setting up for a bf.cfg driven bfb install.
For now, it is disabled until companion os category exists.
2025-09-04 15:23:03 -04:00
Jarrod Johnson
29c6ce230f
Tolerate updateboot failure on first import
2025-09-04 10:21:01 -04:00
Jarrod Johnson
87a6891eff
Include boot filename in ARM case
...
ARM PXE solutions often fail to properly implement
PXE, workaround by going ahead and including the boot filename.
2025-09-03 09:09:21 -04:00
Jarrod Johnson
a112297e60
Detect ESXi editions for more specific fingerprinting
2025-09-02 10:19:41 -04:00
Jarrod Johnson
c567bfbd17
Add sysctl tune check to selfcheck
...
Apart frem the gc_thresh indirect check, perform other checks.
For now, just highlight that tcp_sack being disabled can really
mess with BMC connections. Since the management node may have high speed and the BMC may be behind a 100MBit link, SACK
is needed to overcome the massive loss and
induce TCP to rate limit appropriately.
2025-09-02 08:53:55 -04:00
Jarrod Johnson
6d2146f252
Provide more category based firmware query
...
Some platforms can have a very slow category,
like disks. Give CLI a way to ask for the desired
categories and a chance to optimize away the uninteresting.
2025-08-29 17:12:36 -04:00
Jarrod Johnson
5045b46014
Switch to ISO based boot for windows
...
Windows boot loader can be easily confused by a plurality
of vfat volumes, coddle it by giving it an ISO image for now.
2025-08-28 15:14:02 -04:00
Jarrod Johnson
5905510a32
Move tmp script execution out of /tmp
...
Some environments want noexec on /tmp, this will work in such environments.
2025-08-28 08:34:07 -04:00
Jarrod Johnson
f321f56109
Make more windows content executable
...
Other files use the executable
bit as an indication of whether to run or not.
2025-08-28 08:08:30 -04:00
Jarrod Johnson
9defc47474
Give pycdlib a duped filehandle
...
Attempts to share the filehandle resulted in race conditions around closing,
dedicate a dupe filehandle to pycdlib to avoid the conflict.
3.14.1
2025-08-27 12:29:19 -04:00
Jarrod Johnson
595b628e08
Validate that the agent socket actually works
...
If agent is 'kill -9', then recover
from that by reaping the now dead socket.
2025-08-26 14:00:36 -04:00
Jarrod Johnson
710b24e9f5
Recover from dead ssh agent
...
If the ssh-agent is gone, for whatever reason, restart it.
2025-08-26 11:10:43 -04:00
Jarrod Johnson
c26fba74e7
Fix issues with EL10 installtodisk
2025-08-26 09:52:21 -04:00
Jarrod Johnson
a01eb64adc
Remove disused function from confluent2ansible
2025-08-26 09:50:25 -04:00
Jarrod Johnson
ac8179b867
Amend swraid example script
2025-08-26 09:49:28 -04:00
Jarrod Johnson
87990c72c3
Make EL10 diskless consistent with EL9
2025-08-26 09:06:28 -04:00
Jarrod Johnson
a6a57e8590
Fix ssh operation during install in installtodisk for el9
2025-08-26 08:59:10 -04:00
Jarrod Johnson
6be98c7e60
Fix leaking ssh-agent processes in selfcheck
2025-08-26 08:44:42 -04:00
Jarrod Johnson
1a64768fca
Carry forward EL* installtodisk to EL9
2025-08-26 08:08:24 -04:00
Jarrod Johnson
157641e37a
Fixup imported windows media
...
Samba by default needs executable bit on files for them to be executable by windows.
Only give executable bits to .exe files that are PE32, mitigating the chance the executable bit could mean anything for Linux.
It could still mean something with binfmt misc hooks, but that shouldn't be done much.
2025-08-25 08:59:53 -04:00
Jarrod Johnson
63bbe53448
Address numerous issues with 'installtodisk' for el8
...
Add missing pre.d directory to let user know they can use such scripts
Preserve console directievs from kernelargs into installed system
Retry umount during image2disk, if processes have the filesystem busy.
Fix DNS behavior during post phase of installtodisk
Invoke confignet properly during firstboot to set up additional interfaces.
Have sshd run during the install from '/sysroot', for convenience
Fix some cosmetic error output for setupssh
2025-08-22 08:39:40 -04:00
Jarrod Johnson
ec3fcee7d7
Implement updateboot for windows profiles
2025-08-20 20:15:05 -04:00
Jarrod Johnson
b2b2b5710b
Fix up monolithing sshd_config for platforms that need it
2025-08-20 11:26:41 -04:00
Jarrod Johnson
b32ded9c6a
Fix skipping of quotation in grub config
2025-08-20 10:31:59 -04:00
Jarrod Johnson
75c228dae4
Fix syntax mistake
2025-08-20 10:10:01 -04:00
Jarrod Johnson
afd2b6c219
Add storage drivers to imgutil for el8 diskless
2025-08-20 10:04:13 -04:00