plus3it / spel

STIG-Partitioned Enterprise Linux (spel)
Other
91 stars 61 forks source link

Add workaround for RHEL-17421 #653

Closed ferricoxide closed 5 months ago

ferricoxide commented 7 months ago

Closes #642

Due to RHEL-17421, AMIs bootstrapped from current RHEL 9.x images are not compatible with the pivot_root method used by the Packer amazon-ebs builder-module used by spel. This PR hackishly reinvents the provisioning wheel by writing a BASH-based image-creator script.

All content currently hosted in the (new) ./bootstraps directory. Should RHEL-17421 be favorably resolved or the code to fulfill packer-plugin-amazon request #440 be written and merged, this kludge can be effectively rolled back by nuking the ./bootstraps directory:

ferricoxide commented 6 months ago

@lorengordon

Looking like the Travis job is borked:

curl: (22) The requested URL returned error: 401 
[terraform-docs/install]: Installing terraform-docs...
curl --fail -sSL -H "Authorization: token $GITHUB_ACCESS_TOKEN"  | tar -C "/home/travis/bin" -xzv --wildcards --no-anchored terraform-docs
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
ferricoxide commented 5 months ago

logic in #660 supersedes this workaround.