Skip to content
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

Fixes issues with launch script #165

Merged
merged 1 commit into from
Jul 13, 2022
Merged

Fixes issues with launch script #165

merged 1 commit into from
Jul 13, 2022

Conversation

seansund
Copy link
Member

  • Refreshes launch script included in generated terraform with updated image and fixes to docker run logic

closes #164

Signed-off-by: Sean Sundberg seansund@us.ibm.com

- Refreshes launch script included in generated terraform with updated image and fixes to docker run logic

closes #164

Signed-off-by: Sean Sundberg <seansund@us.ibm.com>
@seansund seansund added bug Something isn't working patch Patch release (0.0.x) labels Jul 13, 2022
@seansund seansund merged commit fcbf749 into main Jul 13, 2022
@seansund seansund deleted the 164-launch-script branch July 13, 2022 18:12
@timroster
Copy link
Contributor

This fix breaks the iascable provided tooling for colima and podman. Unless the host UID matches the uid of the devops user in the cli-tools image, terraform init fails with errors like:

╷
│ Error: Failed to install provider
│ 
│ Error while installing hashicorp/local v2.2.3: mkdir /home/devops/.terraform.d: permission denied
╵

╷
│ Error: Failed to install provider
│ 
│ Error while installing ibm-cloud/ibm v1.43.0: mkdir /home/devops/.terraform.d: permission denied
╵

╷

One viable fix for this problem is to update the cli-tools container with a command to set the group permissions for the /home/devops directory to match that of the user, as the current group ownership is root and a container default gid is 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working patch Patch release (0.0.x)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The tools image still doesn't work
2 participants