-
Notifications
You must be signed in to change notification settings - Fork 109
Download http-parser from s3 #2872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2181442 to
8e631c5
Compare
| REPO_DEFINITION | ||
|
|
||
| yum --disablerepo="*" --enablerepo="amzn2-iso" install -y "*-${REGION}" | ||
| yum --disablerepo="*" --enablerepo="${OS}-iso" install -y "*-${REGION}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this command only necessary on amzn2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because for amzn2023 we do dnf install -y amazon-linux-repo-iso ca-certificates-isob which is what is in the documentation. But I kept what we do for amzn2 the same, so that is why they install the region-specific packages differently
| for user in "${USERS[@]}"; do | ||
| echo "[INFO] Setting CA bundle ${CA_BUNDLE} for user ${user}" | ||
| sudo mkhomedir_helper $user | ||
| sudo -u $user aws configure set ca_bundle "$CA_BUNDLE" | ||
| done | ||
| sudo aws configure set ca_bundle "$CA_BUNDLE" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because setting the system wide environment variables make them apply for each user, so it is unneccessary to loop through each user
Description of changes
Tests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.