Jarrod Johnson
ed41d93de5
Add remote authentication configuration
...
While our security guidelines preclude allowing host to know the password,
it is considered acceptable to do the out-of-band authentication configuration.
Have configbmc request a unicast remote configuration. This should handle authentication
as well as ensuring ongoing consistency between out of band and in-band configuration
methods.
2020-10-20 15:51:46 -04:00
Jarrod Johnson
05e84f2a7c
Fix double-console out in genesis
...
With fixed autocons,
genesis was double outputting to serial console.
Let rungenesis pick
the console instead.
2020-10-14 16:49:10 -04:00
Jarrod Johnson
184727408a
Have configbmc wait for settings to complete
...
There has been some confusion when configbmc changes
are deferred until later.
Reduce confusion by waiting for the settings to take effect,
but avoiding checking each parameter
to preserve most of the speedup.
2020-10-13 12:24:04 -04:00
Jarrod Johnson
b0b965db98
Use newer functions in genesis and el7
2020-10-05 16:57:46 -04:00
Jarrod Johnson
ea533e64c6
Fix more issues found in configbmc
2020-09-09 13:01:01 -04:00
Jarrod Johnson
4fe84ca6dc
Fix various issues in 3.0.0 release
...
If the kernel is new enough to do SKU, but the firmware doesn't have it,
fallback to model.
Fix outright mistakes in the config_port_tsm code
Up mac count from 2 to 3. If querying cumulus switches using SNMP
the switch will add its own mac to the list bringing the
total for a shared port to 3.
2020-09-09 10:58:37 -04:00
Jarrod Johnson
59e739a143
Further tweaks to postscript library functions
2020-08-21 17:42:02 -04:00
Jarrod Johnson
2e2a34b470
Reduce curl verbosity
...
Hard to follow with so much extra output
2020-08-21 17:07:02 -04:00
Jarrod Johnson
b8aa54fb8e
Make output consistent for shell/python remote exec
2020-08-21 17:03:12 -04:00
Jarrod Johnson
67920980c8
Fix syntax error in functions library for pre/post/firstboot scripts
2020-08-21 16:39:37 -04:00
Jarrod Johnson
e9dabdf51b
Add clearer delineation between scripts in output
2020-08-21 10:35:28 -04:00
Jarrod Johnson
18f4c76730
Fix end code for run_remote
...
Output was missing due to shift. Save cmdline before
shifting and use it on way out.
2020-08-21 10:33:56 -04:00
Jarrod Johnson
13636097f5
Add more verbosity to remote functions
2020-08-20 16:20:02 -04:00
Jarrod Johnson
6c2cde7924
Give up on linking configbmc, just copy it for now
2020-08-18 15:53:04 -04:00
Jarrod Johnson
46ca9115a0
Fix configbmc in genesis
2020-08-18 15:43:23 -04:00
Jarrod Johnson
5bdd59bc67
Add configbmc to el8 and genesis script examples
2020-08-17 14:23:21 -04:00
Jarrod Johnson
64945662ac
Add local CA to curl trust in genesis
2020-08-12 09:43:29 -04:00
Jarrod Johnson
866cd85bd0
Add a profile description to genesis
2020-08-12 07:51:38 -04:00
Jarrod Johnson
d88e33677e
Fix typo in confluent in rungenesis
2020-08-11 18:40:57 -04:00
Jarrod Johnson
43ce1b17a7
Rework genesis with more output and an onboot.sh
2020-08-11 18:11:48 -04:00
Jarrod Johnson
1ceb588ad4
Just wait for ssh-keygen, just in case
2020-08-11 17:09:31 -04:00
Jarrod Johnson
e2ff9163bc
Remove the wait for ssh-keygen
...
By this point, it should be done and we accidentally wait on wrong
thing.
2020-08-11 17:08:00 -04:00
Jarrod Johnson
060d8093e6
Fix sshd_config generation
2020-08-11 16:51:42 -04:00
Jarrod Johnson
679f2cbf1c
Extend timeout waiting for 'right' device
...
Some devices come up very slowly.
2020-08-11 16:29:30 -04:00
Jarrod Johnson
4cd7714099
Modify apiclient to rewrite ifidx if stale
2020-08-11 15:41:44 -04:00
Jarrod Johnson
bae4e448d9
Load umad driver
2020-08-11 15:19:09 -04:00
Jarrod Johnson
3dd7611dc2
Try to enable high speed fabrics during genesis start
2020-08-11 15:00:41 -04:00
Jarrod Johnson
f6343a1aa6
Fix the static ip configuration in genesis
2020-08-11 13:37:16 -04:00
Jarrod Johnson
db8047318e
Add missing dependencies for socket getaddrinfo
2020-08-11 13:23:31 -04:00
Jarrod Johnson
8b1193a6ff
Setup authorized_keys in a useful way
2020-08-11 12:24:01 -04:00
Jarrod Johnson
2132ae7003
Fixes for issues in genesis addons
2020-08-11 12:08:02 -04:00
Jarrod Johnson
0960a23765
Change location of rungenesis
...
The bin as a directory conflicts with
bin as a symlink, keep to opt to avoid the whole mess
2020-08-11 11:17:46 -04:00
Jarrod Johnson
6aaeb9b910
Have a genesis profile to latch onto
2020-08-11 10:14:34 -04:00
Jarrod Johnson
644433fa5d
Refactor genesis to have addons.cpio
...
This makes an easier division between pure CentOS
contributions and 'genesis-scripts' type output.
Do so in a manner consistent with how 'real'
operating systems get this added.
2020-08-11 09:54:53 -04:00