Created
July 22, 2021 23:19
-
-
Save bish0polis/6b84233987d540f6192367eeb193684d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fix up ohai for post-centos EL8 | |
%post | |
sed -i~ ' | |
/clearos/s:when /oracle/:when /rocky/, /oracle/: | |
' \ | |
/opt/chef/embedded/lib/ruby/gems/2.*/gems/ohai-*/lib/ohai/plugins/linux/platform.rb | |
%end | |
# easy once you know where to look |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment