Jarrod Johnson
225618ef75
Add stall in firstboot for deployer to be available
2021-08-09 15:19:36 -04:00
Jarrod Johnson
c3e342a8c0
Fix ordering of python path discovery
2021-08-03 16:48:30 -04:00
Jarrod Johnson
663f8fc085
Add nodename to set_confluent_vars
...
It is expected that nodename would also be set.
2021-07-23 19:08:06 -04:00
Jarrod Johnson
88d49c9f40
Start image2disk
...
This marks having written out
the partitions verbatim.
2021-07-16 16:29:56 -04:00
Jarrod Johnson
ece525c2e2
Begin work on install and filter small devices from install candidacy
2021-07-16 11:11:13 -04:00
Jarrod Johnson
101b5685d1
Move kickstart.custom fetch to before pre.d
...
Allow custom scripts to further customize kickstart.custom
by modifying /tmp/kickstart.custom
2021-07-12 09:23:01 -04:00
Jarrod Johnson
ea26478714
Add needed dependency for OFED
2021-07-08 11:54:14 -04:00
Jarrod Johnson
175f9317ac
Skip 32bit portion of mofed
2021-07-08 11:45:43 -04:00
Jarrod Johnson
b291dee68c
Add bind-utils, skip iwl*-firmware, and alphabatize packages
2021-07-08 11:38:50 -04:00
Jarrod Johnson
38a4e20b9a
Fix issues around imageboot and source in functions
2021-06-15 08:31:45 -04:00
Jarrod Johnson
763feda63b
Fix missed references to old variable names
2021-05-03 15:54:39 -04:00
Jarrod Johnson
7676c4fd26
Restore EL8 treatment
...
The changes caused EL8 to lose some required special treatment.
2021-05-03 15:18:33 -04:00
Jarrod Johnson
cf6975ded3
Fix python2/3 handling in el8 pre.sh
2021-05-03 13:11:52 -04:00
Jarrod Johnson
d17b1d060c
Prepend confluent_ to vars and switch to explicitly requesting directory
...
The 'profile' variable notably induces dracut to be excruciatingly slow,
mitigate chance by putting confluent before apikey, mgr, and profile.
Further, it has been requested to have the scripts use same name on
server for directory moving forward. Implement this request while
allowing existing OS profiles to keep working.
2021-05-03 12:48:08 -04:00
Jarrod Johnson
fcb4b33e8e
Include stderr in the script execution logs
2021-05-03 08:57:59 -04:00
Jarrod Johnson
b5b9631b3f
Correct typo in pre script
2021-04-30 16:27:16 -04:00
Jarrod Johnson
bb05f72583
Add source_remote_parts
...
This function will enable a script to invoke multiple
pieces in same variable/function context
2021-04-30 14:33:02 -04:00
Jarrod Johnson
68b4f83627
Have firstboot script be logged better
...
Also show on screen firstboot script execution.
2021-04-30 14:08:42 -04:00
Jarrod Johnson
672bc4f754
Amend postscript logging strategy
...
This adjusts to avoid hangs in
anaconda
2021-04-30 13:38:31 -04:00
Jarrod Johnson
4df3fda8ea
Change logging/display for RH oses
...
The pre and post phases are
desirable to see both in logs and consoles.
Unfortunately, anaconda cheaps out by using communicate(), which means
the logs are unwritten until the end.
Change by using bash's redirectiors
to create a dynamically updated logfile
and tail -f that.
2021-04-30 09:39:00 -04:00
Jarrod Johnson
f32619aa3e
Allow firstboot to reboot in RH postscripts
...
Sometimes firstboot scripts want to reboot.
In such a case, start firstboot once, and if reboot prevents completion,
then next boot will updatestatus, but not run firstboot scripts and
deregister itself.
2021-04-29 09:20:24 -04:00
Jarrod Johnson
ca78b664c9
Get rid of minor warning about RSAAuthentication
2021-04-28 14:06:57 -04:00
Jarrod Johnson
0e55d390e3
Fix up post output to console
2021-04-28 13:46:26 -04:00
Jarrod Johnson
002146b2f7
Try to output pre/post content to console during install
2021-04-28 13:27:34 -04:00
Jarrod Johnson
45cc4b7788
Add documentation syncfiles examples
...
Also, check to make sure a syncfiles has actual
work to do before triggering a greenthread and
the client to start polling.
2021-04-23 11:09:35 -04:00
Jarrod Johnson
945f108548
Fix inconsistencies between el7 and el8
...
While there are still differences, minimize
the ones that aren't for specific reasons
2021-04-23 09:08:50 -04:00
Jarrod Johnson
c38aac88df
Avoid overwriting customized installdisk or partitioning
2021-04-22 12:12:58 -04:00
Jarrod Johnson
6d1348f5fa
Add pre.d to EL8 profiles
2021-04-22 12:08:25 -04:00
Jarrod Johnson
c05f18d865
Remove abortive custom names for pre.sh.custom
2021-04-22 11:48:05 -04:00
Jarrod Johnson
7957a6abd4
Add invoking syncfile activity to the default profiles
2021-03-29 14:03:11 -04:00
Jarrod Johnson
39a7d8d131
Move the syncfileclient into scripts
...
This does not need to be in initramfs,
so do not grow addons.cpio.
2021-03-29 13:55:44 -04:00
Jarrod Johnson
03f88c6e3e
Swap ssh during post phase to installed image
...
Preserve installer access on 2222
This enables easier ansible usage.
2021-03-18 15:53:30 -04:00
Jarrod Johnson
79ef1c4811
Correct typo in functions update
2021-03-18 14:58:53 -04:00
Jarrod Johnson
66efa1da5c
Implement remote config for EL8
2021-03-18 14:12:19 -04:00
Jarrod Johnson
e38dbc4470
Pull in the automation key into default profiles
2021-03-10 15:41:01 -05:00
Jarrod Johnson
76cdd958ec
Add AlmaLinux recognition
...
This imports ALmaLinux
2021-02-08 09:24:46 -05:00
Jarrod Johnson
209430ed35
Fix path mistake in mofed.post script
...
mofed.post had incorrect path to mofed.tgz after
fetch. Correct the path mistake.
2021-01-28 16:45:39 -05:00
Jarrod Johnson
3d2b579f1a
Implement workaround for install over infiniband
...
8.3 implemented networkmanager to manage the install time
networking, but didn't correctly generate infiniband
network manager configuration.
Workaround by checking for infiniband install, and
then checking if the configuration is wrong, and
adding an infiniband section if missing.
2021-01-28 13:47:28 -05:00
Jarrod Johnson
e1bf22911b
Try to have example directories obvious
...
git can't do empty directories, try a .gitignore
to have directories appear in the profiles
2020-12-15 12:52:57 -05:00
Jarrod Johnson
d6642f1bde
Fix omitted directory for firstboot
...
firstboot being in /opt requires a mkdir
2020-12-15 12:51:16 -05:00
Jarrod Johnson
c025f4d2fc
Fix firstboot.sh with selinux enabled
2020-12-14 15:06:04 -05:00
Jarrod Johnson
db0f91c160
Comment to show how to opt out of UEK
...
For users that use the distribution with UEK, but do
not want UEK at all.
2020-12-14 08:33:58 -05:00
Jarrod Johnson
cbb46dec3a
Allow firstboot to run with root access
...
Being it /etc is unusual, and restorecon treats it
as such. Manually use chcon to explicitly allow
it in /etc/
2020-12-12 14:57:02 -05:00
Jarrod Johnson
0afa4c217c
Add directory based post/firstboot capability
...
el8 profiles gain post.d/firstboot.d capability
2020-12-11 16:29:12 -05:00
Jarrod Johnson
fa823510b6
Pretty-ify Oracle Linux name in profile.yaml
...
Give it a nicer looking automatic label when
Oracle Linux is detected.
2020-12-07 15:09:30 -05:00
Jarrod Johnson
906011a80b
Support 8.3 install
...
In 8.3, they refactored how network configuration is
managed early in install. Fix by detecting the presence
of the nm-lib and calling it's function again to
re-read the new cmdline.
2020-12-07 12:35:33 -05:00
Jarrod Johnson
674d32e9e5
Correct mistake in previous pre scripts
2020-12-01 12:55:41 -05:00
Jarrod Johnson
0137f99636
Add installedargs to rhel family
...
Provide a profile.yaml line that can be used to add arguments to
installed kernel as well as install kernel.
2020-12-01 10:53:26 -05:00
Jarrod Johnson
0c66021d3e
Add tagged vlan support to el8 deployment
2020-11-30 08:16:04 -05: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