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
Jarrod Johnson
e28f6b87fc
Fix RHVH apikey location
2020-07-23 14:39:17 -04:00
Jarrod Johnson
bbab1cb949
Adjust EL7 package list
...
Packages in EL8 do not apply to EL7
2020-07-23 13:05:24 -04:00
Jarrod Johnson
232e6c34c5
Add el7 to build
2020-07-23 12:42:34 -04:00
Jarrod Johnson
ac622d84b2
Add EL7 support
2020-07-23 12:29:43 -04:00
Jarrod Johnson
2483f07c89
Add tar dependency for osdeploy
2020-07-22 15:11:58 -04:00
Jarrod Johnson
9f429f5af9
Adapt EL8 change to RHVH
2020-07-16 15:23:45 -04:00
Jarrod Johnson
ded4762baf
Go to internalizing driver disk load
...
Trying to let the dd happen naturally was evidently a mistake,
load the drivers manually.
2020-07-16 15:09:24 -04:00
Jarrod Johnson
767e65455f
Apply reset of cmdline to RHVH
2020-07-15 17:24:19 -04:00
Jarrod Johnson
9661d4d6fb
Clear cmdline between runs
2020-07-15 17:13:07 -04:00
Jarrod Johnson
8fc475a678
Fix mistakes in the initqueue hooks
...
Syntax errors were present.
2020-07-15 15:55:29 -04:00
Jarrod Johnson
99cb4748a7
Also amend the RHVH4 dracut hook
...
In addition to RHEL8, also have RHVH4 have the workaround.
2020-07-15 15:29:30 -04:00
Jarrod Johnson
d49f018981
Correct functions in profiles
...
Use functions correectly.
2020-07-15 15:22:27 -04:00
Jarrod Johnson
6dadac498f
Try another strategy for confluent initqueue
...
We want to have each iteration try not much.
But we also want to have a 'good' (primary network) match
supersede a less successful guess.
But we also want to keep guessing.
So the first 'vague' guess gets to run full hook.
If a future good guess happens, rerun the hook to update the data.
2020-07-15 15:20:17 -04:00
Jarrod Johnson
3b121cdb4b
Have initqueue hook give up faster
...
Since the hook itself will get retried, we can be more aggressive
in giving up in each individual attempt.
2020-07-15 08:45:41 -04:00
Jarrod Johnson
fba82f9379
Change el8 addons to retry confluent handler
...
If DD is in play, drivers may appear later, and
we have to wait for them in a future invocation.
2020-07-14 16:43:37 -04:00
Jarrod Johnson
dad68bdf63
Conditionally include clevis-dracut
...
If not using LUKS, don't bother with clevis-dracut.
In 8.1, clevis-dracut will cause problems with network
in initrd time.
2020-07-14 14:40:05 -04:00
Jarrod Johnson
910490cc74
Add arguments to the run_remote functions
...
This will help provide flexibility in invoking remote scripts
without hardcoding arguments into the scripts
2020-07-13 17:08:38 -04:00
Jarrod Johnson
7f044c45de
Revert "Have osdeploy require apache/ssl and provide config"
...
This reverts commit ea6155b2a1
.
This rpm is built under centos7 for maximum C compatibility
of the addon utility. For now move the dependency back
to lenovo-confluent
2020-07-10 09:27:38 -04:00
Jarrod Johnson
eb8144214f
Add NTP to RHVH profile
2020-07-09 16:02:53 -04:00
Jarrod Johnson
64f57dceaf
Fix ubuntu NTP configuration
2020-07-09 15:51:19 -04:00
Jarrod Johnson
5051ab4bf5
Add NTP support to ubuntu profile
2020-07-09 15:21:48 -04:00
Jarrod Johnson
439859e4fc
Implement suse ntp and correct redhat ntp
2020-07-09 15:05:20 -04:00
Jarrod Johnson
b42e447e34
Fix NTPCFG replacement in suse pre.sh
2020-07-09 14:13:46 -04:00
Jarrod Johnson
d2c999b01c
Add NTP to suse15 profile
2020-07-09 13:37:50 -04:00
Jarrod Johnson
50661b7dee
Fix multiple ntp servers in EL8 profile
2020-07-09 13:30:13 -04:00