clemenko / rke_airgap_install

a script/method for air gapping the Rancher Stack with Hauler
50 stars 25 forks source link

Added checks for sudo and openssl, changed 'which' to 'type' #18

Closed mlevitt closed 5 months ago

mlevitt commented 5 months ago

I used a docker image to run the script and these packages weren't installed. Added the checks for them and discovered that the 'EL' variable wasn't set because which was not installed either. Rather than add 'which', I changed the test to type

clemenko commented 5 months ago

I love it! thanks for the help! That sounds like a cool use case as well!