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

fix(vm): regression: sudo: command not found when creating a VM #966

Merged
merged 1 commit into from
Jan 27, 2024
Merged

Conversation

bpg
Copy link
Owner

@bpg bpg commented Jan 27, 2024

Contributor's Note

  • I have added / updated documentation in /docs for any user-facing features or additions.
  • I have added / updated templates in /example for any new or updated resources / data sources.
  • I have ran make example to verify that the change works as expected.

Proof of Work

The provider now shows the following error if non-root user is configure for ssh, and it is not in sudoers, or sudo is not installed.
Screenshot 2024-01-26 at 8 06 37 PM

Root user still works without installed sudo.

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #962

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Copy link

@mergify mergify bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 LGTM! beep boop

@bpg bpg merged commit 01a8f97 into main Jan 27, 2024
7 checks passed
@bpg bpg deleted the fix-sudo branch January 27, 2024 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: sudo: command not found when deploying VMs
1 participant