Wera Grzeda
1553af0f41
NTP servers fix for stateless images for RHEL 7-9
...
Node attribute ntp.servers in nodeattrib ca now be used in stateless images
modified: confluent_osdeploy/el7-diskless/profiles/default/scripts/onboot.sh
modified: confluent_osdeploy/el8-diskless/profiles/default/scripts/onboot.sh
modified: confluent_osdeploy/el9-diskless/profiles/default/scripts/onboot.sh
2025-04-24 10:47:38 +02:00
Jarrod Johnson
690980c064
Always specify miimon=100 in networkmanager bonds
...
We already do this for SUSE, it makes sense as a default.
2025-04-23 10:28:42 -04:00
Jarrod Johnson
69240ef492
Add Fedora 42 scripted install support
2025-04-17 08:30:20 -04:00
Jarrod Johnson
507e6fa9ac
Ensure bash runs the genesis_bootstrap from media
2025-04-11 16:05:08 -04:00
Jarrod Johnson
49ac3487c2
Fix bad indentation in add_local_repositories
2025-04-11 13:23:45 -04:00
Jarrod Johnson
1ec08336e6
Add notation on how to opt out of ubuntu install internet connect
2025-04-11 13:18:41 -04:00
Jarrod Johnson
90f4a2a062
Improve text console behaviors of Ubuntu and RedHat
...
RedHat makes grub redundantly handle serial output that firmware
already handles. If we detect EFI firmware and SPCR ACPI table and
connected serial port, that suggests that firmware will handle.
Ubuntu hates serial console by default, amend it so it can actually
work for serial users.
2025-04-11 12:55:01 -04:00
Jarrod Johnson
1985525cc0
Add all gpgkeys to local repositories
...
gpgkey can take multiple, and better to specify them all instead
of just one.
2025-04-11 12:13:30 -04:00
Jarrod Johnson
9174ad651f
Fallback to mac
...
Some systems do not have UUIDs. Which is unfortunate, but usually
a system mac address does well enough.
2025-04-11 08:38:51 -04:00
Jarrod Johnson
ddf9244514
Correct typo in add_local_repositories
2025-04-09 17:00:56 -04:00
Jarrod Johnson
2e60ca13b7
Try to add gpgkey to local repository
...
This is needed for things like followup imgutil
2025-04-09 13:27:29 -04:00
Jarrod Johnson
43d9fe09cf
Merge remote-tracking branch 'xcat'
2025-04-08 10:44:05 -04:00
Jarrod Johnson
71ddbb88fc
If doing GUI in Genesis, defer until after udevd
...
udev is needed to run in some scenarios for seatd/sway to
function correctly.
2025-04-08 09:25:19 -04:00
Jarrod Johnson
5df6f9adbf
Merge pull request #184 from tkucherera-lenovo/console-redirect
...
seperate console redirect scripts into oses
2025-04-07 15:19:03 -04:00
Jarrod Johnson
b1ba1720b9
Suppress scary message from apiclient when asked to just do -f.
2025-04-02 11:10:33 -04:00
Jarrod Johnson
b21d8b75e0
Incorporate block device into retry loop
...
Have block devices checked for identity information
in a loop with network source search.
Block devices may be delayed for various reasons. The previous method
could be bypassed by fast block device cutting off slow device
enumeration. It also incurred a delay for the network install
case.
2025-04-02 09:50:15 -04:00
Jarrod Johnson
98add92a20
Correct the path to the api key during ubuntu installation
2025-04-01 15:26:37 -04:00
Jarrod Johnson
c8ed877fda
Make clearer api grant errors
2025-04-01 14:05:46 -04:00
Jarrod Johnson
b665365178
Start with esxi7 contents as base for esxi9
2025-04-01 08:18:51 -04:00
Tinashe
b596de93a0
seperate into oses
2025-03-27 11:09:25 -04:00
Sorin Toderica
62e081cd72
Modify apiclient utility, for esxi7 only, to check if the uplink of vSwitch0 is up and if not, to try to replaces it with a different vmnic, that is up
2025-03-25 09:50:40 +02:00
Jarrod Johnson
84881cc6be
Fix invoke to a file to not repeat the request
2025-03-21 09:12:57 -04:00
Jarrod Johnson
f6e9691b7f
Amend arguments on IPv4 invocation
...
It turns out that when busybox invokes openssl for
IPv4, it does not pass a servername field.
In this case, start amending arguments after '-verify' instead, to catch
the verify_ip argument correctly.
2025-03-20 08:21:47 -04:00
Jarrod Johnson
ef68259745
Provide more full fixup of openssl invocation in wget
...
For IPv4 and IPv6, strip the ':443' for arguments where it doesn't make sense.
For IPv6, strip out [, ], and '%' from those arguments.
2025-03-19 12:41:50 -04:00
Jarrod Johnson
e25b3acd98
Fix onboot.d in genesis profiles
2025-03-19 09:41:21 -04:00
Jarrod Johnson
1e463367fe
Switch Ubunut initramfs to ssl
...
The busybox wget invocation of openssl is broken.
Override by stubbing it out to let openssl pick the verify
hostname instead of wget specified one, which is incorrect.
2025-03-18 15:52:37 -04:00
Jarrod Johnson
58608016c4
Add wait for disk bringup to allow media based co-opt of genesis
2025-03-12 13:23:00 -04:00
Jarrod Johnson
9123d2f2e0
Add ability to post bodys to HTTP requests
2025-03-11 15:35:35 -04:00
Jarrod Johnson
9cecaab055
Fix confluent server identification using -s instead of file
2025-03-11 15:04:36 -04:00
Jarrod Johnson
d2011261ab
Enable creation of bond and dependent tags in one iteration
...
Have a second pass to check interfaces that may
be created by the first pass.
2025-03-11 09:58:51 -04:00
Jarrod Johnson
1f97a5e67d
Add a Makefile for building
2025-03-07 18:01:55 -05:00
Jarrod Johnson
13a6493100
Add a general utility for confluent in golang
2025-03-07 17:16:13 -05:00
Jarrod Johnson
28c929aec6
Have a draft apiclient in golang
2025-03-05 17:14:55 -05:00
Jarrod Johnson
80ea0b3e91
Merge pull request #181 from tkucherera-lenovo/console-redirect
...
modify redirection code for rhel
2025-03-05 11:31:01 -05:00
Tinashe
1bfad11ee5
remove-mkconfig
2025-03-05 11:19:34 -05:00
Tinashe
7b4063a42f
modify redirection code for rhel
2025-03-05 11:12:31 -05:00
Jarrod Johnson
f458c15677
Correct launching of GUI in genesis
2025-03-04 16:11:28 -05:00
Jarrod Johnson
02ec40092e
Have genesis optionally GUI capable
...
Have Genesis work with newer distribution base, also support seatd/sway when
genesis contains it.
2025-03-04 15:12:59 -05:00
Jarrod Johnson
f06d9a81e7
Have sshd only generate ed25519 during initramfs phase of diskless.
...
sshd-keygen service will come later with other keys, if desired.
2025-03-04 10:04:30 -05:00
Jarrod Johnson
44a30686cb
Add Fedora 41 scripted install support
2025-02-28 08:53:26 -05:00
Hengli Kuang
75a0f44a36
add a loop to find the accessible deployer when the method is not static
2025-02-28 13:53:28 +08:00
Tinashe
a595abe9e6
also allow users to just specify lom and we use the first port
2025-02-25 12:13:18 -05:00
Tinashe
11d63a4b5c
allow users to choose which lom port to use for bmc shared mode
2025-02-25 11:00:16 -05:00
Jarrod Johnson
5fda02b9e0
Repeat NIC check loop on Ubuntu 18.04 deployments
2025-02-20 12:54:55 -05:00
Jarrod Johnson
76d4556501
Add a go version of genpasshmac
2025-02-07 10:19:54 -05:00
Jarrod Johnson
b9f4051396
Export variables set in confluent functions
2025-02-03 16:40:57 -05:00
Jarrod Johnson
79d5a637a7
Correct syntax error in confignet
2025-01-24 11:12:25 -05:00
Jarrod Johnson
67aaee3b4e
Adapt to the bond modes
...
When the team modes were defined in attributes, it was based on the
teamd names. Since the ecosystem abandoned teamd, we went back to
bond.
However, we neglected to map all the names to the closest bond type equivalent.
Change confignet to do the mapping.
2025-01-24 07:58:31 -05:00
Jarrod Johnson
0cae0fe06e
Add installtodisk support for el9 diskless images
2024-12-13 19:04:15 -05:00
Jarrod Johnson
cd2509c485
Ignore unparseable net config files
...
If some pre-processing has rendered config files
unparseable, ignore the file as we can't intelligently rewrite
those.
2024-12-13 16:16:12 -05:00