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
d956893104
Have EL8 ifup wait for tentative to go away
2020-08-17 15:06:38 -04:00
Jarrod Johnson
5bdd59bc67
Add configbmc to el8 and genesis script examples
2020-08-17 14:23:21 -04:00
Jarrod Johnson
584f6dc458
Handle no-argument invocation
...
apiclient is used to process confluent.info
2020-08-17 13:40:00 -04:00
Jarrod Johnson
997b43045a
Make preparations for a configbmc for inband config
2020-08-14 15:29:55 -04:00
Jarrod Johnson
64945662ac
Add local CA to curl trust in genesis
2020-08-12 09:43:29 -04:00
Jarrod Johnson
c02a482601
Add serial hint to console=ttyS users
2020-08-12 09:35:24 -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
95f9854630
Fix missing data for apiclient
2020-08-11 13:40:55 -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
Jarrod Johnson
1d6a5fc329
Have add_local_repositories by python2/3 agnostic
...
RHEL7 is still python2
2020-08-07 09:55:37 -04:00
Jarrod Johnson
d08ca5a114
Add local repositories to EL7 installs
2020-08-07 08:29:20 -04:00
Jarrod Johnson
d12272eccc
Support current directory in repo path
2020-08-07 08:26:42 -04:00
Jarrod Johnson
8aabdcc454
Fix name of rpm gpg keys
2020-08-06 19:32:47 -04:00
Jarrod Johnson
9c079a4203
Generate ifidx file
...
Use apiclient to generate ifidx for nmcli c u
2020-08-06 18:56:23 -04:00
Jarrod Johnson
f55dc8104b
Bring up the nic correctly during pre
...
nmcli can bring up the link with proper lla like confluent.info
indicates.
2020-08-06 18:15:27 -04:00
Jarrod Johnson
3812fc93ff
Have EL8 family add repositories manually
2020-08-06 16:37:18 -04:00
Jarrod Johnson
2b963ce854
Address typo in RHVH 4.3 support
...
This prevented 4.3 from deploying
2020-08-05 12:35:16 -04:00
Jarrod Johnson
ae7ce2033b
Handle more differences between 4.3 and 4.4
2020-08-05 12:14:29 -04:00
Jarrod Johnson
aed96a2711
Add RHV4.4 support to RHV4
...
Again, we need to handle the drastic differences
in python between *minor* versions of RHVH
2020-08-05 09:45:38 -04:00
Jarrod Johnson
b796d19a4c
Add ifidx to bash path
...
The shell based apiclient alternative should write ifidx
as well.
2020-08-05 09:21:16 -04:00
Jarrod Johnson
55a6e3a1e2
Support RHV 4.4
...
Unfortunately, RHV considers rebasing from RHEL7 to RHEL8
to be a 'minor' change. So we have to have a sloppily
complicated iniqueue to serve either RHEL7 or RHEL8.
2020-08-05 09:15:02 -04:00
Jarrod Johnson
b4d7812926
Add some likely customizations examples
...
RedHat family is likely to be customized with firewall and selinux,
use those as examples to get things going for users.
2020-07-29 12:19:44 -04:00
Jarrod Johnson
b09631fcbf
Correct mistake in chcon path
2020-07-24 16:07:15 -04:00
Jarrod Johnson
eb7791b884
Add missing example custom files
2020-07-24 16:00:16 -04:00
Jarrod Johnson
cbc25c17c4
Revise customization across RH family
2020-07-24 15:45:19 -04:00
Jarrod Johnson
235c07063c
Adjust SELinux context on remote exec
...
To facilitate firstboot, context must be changed
before execing remote content.
2020-07-24 15:32:13 -04:00
Jarrod Johnson
d2f1ea6cec
Tweak the customizations.
2020-07-24 11:10:01 -04:00
Jarrod Johnson
d7c219f2a8
Add a new strategy for custom content
...
This allows a profile to more easily isolate customizations
from the base profile
2020-07-24 10:59:15 -04:00
Jarrod Johnson
eabb212e58
Fix setupssh.sh without ssh_config.d
...
It was modifying the installer ssh_config
rather than the target ssh_config
2020-07-24 08:12:53 -04:00
Jarrod Johnson
33dd5e8315
Remove redundant call to nodectl
2020-07-23 15:10:30 -04:00
Jarrod Johnson
02ba6df421
Do not try to sign unsupported key
2020-07-23 14:41:59 -04:00