Jarrod Johnson
cf4475cfcc
Escape the '\W' to avoid stepping on python processing
2024-07-23 10:23:05 -04:00
Jarrod Johnson
a94b9235e8
Tighten umask on confignet to avoid ubuntu warnings
2024-07-23 10:14:32 -04:00
Jarrod Johnson
bb04faed04
Explicitly request bash under ubuntu, which tends to use dash
2024-07-23 10:01:53 -04:00
Jarrod Johnson
33ed1a5e64
Add onboot for ubuntu diskless
2024-07-23 09:32:20 -04:00
Jarrod Johnson
1ade704daa
Fix imgutil copy of ubuntu sources
2024-07-22 16:40:44 -04:00
Jarrod Johnson
34b03da494
Update for Ubuntu 24.04 diskless
2024-07-22 16:33:07 -04:00
Jarrod Johnson
4f18294d93
Fix path in debian build for imgutil
2024-07-22 13:57:38 -04:00
Jarrod Johnson
7154a1d60c
Add control file for deb build of imgutil
2024-07-22 13:47:36 -04:00
Jarrod Johnson
69fa3f10c0
Add deb packaging of imgutil
2024-07-22 13:47:29 -04:00
Jarrod Johnson
294ef8e88c
Fix for IB diskless boot to install clone
...
The infiniband section must be defined for the OS
to use the IB link. If it is missing then networking
does not come up during firstboot.
Fix this by having an inifiniband section including explicitly
declaring use of datagram mode. This should suffice for all
install use cases, and may be changed after firstboot starts.
2024-07-19 09:28:29 -04:00
Jarrod Johnson
b61e5fb1ff
Merge pull request #151 from Obihoernchen/el-stateful-fix
...
Fix EL stateful install
2024-07-18 13:06:12 -04:00
Markus Hilger
b4a33b8102
Fix EL stateful install
...
Sometimes stateful install can fail if vgchange -a n is run after dd.
Use wipefs instead and fix order of both commands.
Furthermore, use the $INSALLDISK variable.
2024-07-18 17:35:39 +02:00
Jarrod Johnson
9d5432f8cd
Fix network configuration when middle name ends in 'net'
2024-07-18 08:40:40 -04:00
Jarrod Johnson
abf12f2b96
Reinstate linuxefi/initrdefi for older GRUB
...
Technically, Grub never had 'linuxefi/initrdefi' commands
officially, so this is a bit weird.
However, if we see signs of GRUB older than 2.03, we will assume
that is requires the linuxefi/initrdefi commands from
the out of tree patch to support EFI the old way.
This corresponds with EL7. Other variants seem ok with
the more proper linux/initrd command names.
2024-07-15 11:26:58 -04:00
Jarrod Johnson
5d08919769
Merge pull request #150 from tkucherera-lenovo/nodebmcpasswordUpdate
...
better error handling
2024-07-15 09:30:22 -04:00
tkucherera
8d726bced9
better error handling
2024-07-15 09:22:59 -04:00
Jarrod Johnson
945dff09f3
Change to generic linux/inird command in Grub
...
Modern grub has removed these variants, and should only be required for very old non-EFI stub kernels
2024-07-15 08:19:13 -04:00
Jarrod Johnson
7a3e1dfde3
Fix grub fallback path for more grub
2024-07-12 16:48:46 -04:00
Jarrod Johnson
c0cc673c63
Make directory exist before creating file
2024-07-12 16:31:06 -04:00
Jarrod Johnson
3aea1ec7d6
Fix list syntax in grub cfg
2024-07-12 16:21:36 -04:00
Jarrod Johnson
08a5bffa90
Write multiple grub.cfg paths
...
Some have different requirements on how to find grub.cfg
2024-07-12 15:52:49 -04:00
Jarrod Johnson
8c193fe33f
Fix issues with firstboot on Ubuntu 22+
2024-07-12 15:30:47 -04:00
Jarrod Johnson
bc624d9360
Fix Ubuntu 24.04 network bring up
...
Ubuntu 24.04 does not check conf files in /run before assuming dhcp anymore.
Influence its logic to skip dhcp if we have static for it
2024-07-12 15:15:56 -04:00
Jarrod Johnson
7bd41af2cc
More properly error on bad requests
...
Avoid incurring an error code 500 issue in reaction to certain
bad request data.
2024-07-09 08:41:34 -04:00
Jarrod Johnson
4f21e62705
Fix typo in the auth code
2024-07-08 10:02:03 -04:00
Jarrod Johnson
dde6ceadfb
Allow local ISO to proceed if detected with Ubuntu
2024-07-03 14:36:54 -04:00
Jarrod Johnson
9d979256eb
Revert "Add MegaRAC discovery support for recent MegaRAC"
...
This reverts commit 07005d83ca
.
Premature addition to master branch
2024-06-27 11:36:41 -04:00
Jarrod Johnson
07005d83ca
Add MegaRAC discovery support for recent MegaRAC
...
Create a generic redfish discovery and a MegaRAC specific
variant.
This should open the door for more generic common base redfish discovery
for vaguely compatible implementations. For now, MegaRAC only
overrides the default username and password (which is undefined
in the redfish spec).
Also, have SSDP recognize the variant, and tolerate odd nonsense
like SSDP replies coming from all manner of odd port numbers (no
way to make a sane firewall rule to capture that odd behavior,
but at application level we have a chance).
2024-06-27 11:25:33 -04:00
Jarrod Johnson
411b2fae49
Merge remote-tracking branch 'lenovo/master'
2024-06-25 16:26:55 -04:00
Jarrod Johnson
762a8ee73f
Correct proxyDHCP buffer use
...
It was possible for proxyDHCP to look past the network designated end of packet.
Fix this by consistently using the memoryview that was trimmed to size.
2024-06-25 16:25:19 -04:00
Jarrod Johnson
9715247cc6
Merge pull request #97 from sjtstg/dev-enos-plugin
...
Add ENOS management plugin
2024-06-21 13:07:00 -04:00
Simon Thompson
166e4599b9
add enos management plugin
2024-06-21 18:35:10 +02:00
Simon Thompson
d231326dfb
add class to run cmd by ssh
2024-06-21 18:34:47 +02:00
Jarrod Johnson
162e4d1d1e
Add retry logic for the el8 identity image support
...
This allows slow linking interfaces to come up rather than being missed
2024-06-15 15:43:13 -04:00
Jarrod Johnson
8e407cb96e
Correct mistake with confluent uuid copy-in in copernicus
2024-06-14 11:21:46 -04:00
Jarrod Johnson
d06be55568
Add dependencies for Ubuntu Noble
2024-06-11 15:51:02 -04:00
Jarrod Johnson
8db6382629
Change autoversion scheme for dev builds
...
We need to be compliant with python versioning for the
tools to keep working
2024-06-11 09:25:57 -04:00
Jarrod Johnson
663b320868
Add more bounds checking in copernicus
2024-06-07 12:43:15 -04:00
Jarrod Johnson
517242df47
Avoid double run of driver disk content
2024-06-07 11:36:39 -04:00
Jarrod Johnson
c6adf8175a
Try processing driver disks before udevadm invocation
2024-06-07 11:03:00 -04:00
Jarrod Johnson
38a95131f9
Add more error handling in vtbufferd
2024-06-07 09:36:18 -04:00
Jarrod Johnson
5d416cb1b1
Remove disused dependency list
2024-06-06 11:23:28 -04:00
Jarrod Johnson
451e3ba224
Add nodeapply man page
2024-06-06 09:02:45 -04:00
Jarrod Johnson
6564f8de72
Update license material
2024-06-05 08:39:37 -04:00
Jarrod Johnson
bb414524ad
Add fallback if timedatectl can't run.
2024-05-30 08:14:58 -04:00
Jarrod Johnson
bab0a77cb6
Refresh to CentOS stream 9
2024-05-23 15:15:37 -04:00
Jarrod Johnson
010c8a0a23
Amend EL network bringup
...
One issue is that there are multiple networkmanager connections,
clean this up, though this seems not to be a functional issue.
However, sometimes the lldpad usage screws up network configuration,
disable the facility by forcibly disabling fcoe sincec that is what triggers lldpad.
wq
2024-05-22 15:45:24 -04:00
Jarrod Johnson
c0bcc3791d
Fix handling some eatonpdu return values
2024-05-15 12:30:36 -04:00
Jarrod Johnson
172c57c6f1
Fix media location search for EL8
...
EL8 distributions marked the 'OS' as dracut, workaround by trying to use PRETTY_NAME
2024-05-15 12:29:32 -04:00
Jarrod Johnson
91dce25a8b
Merge pull request #149 from tkucherera-lenovo/updateAttrib
...
check update args before setting anything
2024-05-09 08:52:22 -04:00