Skip to content
Snippets Groups Projects
Commit 94ce1b0a authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Merge branch 'feat-local-user' into 'main'

Add local user

Closes #78

See merge request rc/packer-openstack-hpc-image!55
parents 119fa1dc 9f19c6e2
No related branches found
No related tags found
1 merge request!55Add local user
Pipeline #8061 passed with stages
in 20 minutes and 54 seconds
......@@ -108,6 +108,7 @@ build_image:
- 'sed -i -E "s/(lts_secret_key: ).*/\1\"${AWS_SECRET_ACCESS_KEY}\"/" CRI_XCBC/group_vars/knightly'
- 'sed -i -E "s/(user_register_app_key: ).*/\1\"${SELF_REG_APP_KEY}\"/" CRI_XCBC/group_vars/knightly'
- 'sed -i -E "s/(celery_user_password: ).*/\1\"${CELERY_PASSWD}\"/" CRI_XCBC/group_vars/knightly'
- 'sed -i -E "s|(ssh_pub_key: ).*|\1\"{{ lookup(''file'', ''${SSH_PUB_KEY}'') }}\"|" CRI_XCBC/group_vars/knightly'
- packer validate openstack-ood
- |
if [ $CI_PIPELINE_SOURCE == 'merge_request_event' ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment