templates/packer: add comment to get_aws_creds.sh
Add a comment explaining why it is important to set the AWS bucket in the worker configuration, even if the `AWS_ACCOUNT_IMAGE_BUILDER_ARN` is empty.
This commit is contained in:
parent
09daa75adf
commit
6ae8904f5a
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ echo "Deploy AWS credentials."
|
|||
|
||||
echo "Write the bucket."
|
||||
# Always create the header and write the bucket, it's slightly ugly but it will work
|
||||
# The bucket is always set, becuase the instance can potentially authenticate to AWS
|
||||
# with its instance profile, without any explicit credentials.
|
||||
sudo tee -a /etc/osbuild-worker/osbuild-worker.toml > /dev/null << EOF
|
||||
[aws]
|
||||
bucket = "${WORKER_CONFIG_AWS_BUCKET:-}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue