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

Add user to hyperv admin group during podman installation #25037

Open
lstocchi opened this issue Jan 17, 2025 · 0 comments
Open

Add user to hyperv admin group during podman installation #25037

lstocchi opened this issue Jan 17, 2025 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. machine windows issue/bug on Windows

Comments

@lstocchi
Copy link
Contributor

Feature request description

This came up when discussing with @l0rd about #24813

With that PR, it is possible to run podman on hyperv as a normal user (elevated rights are only asked for registry stuff).
However, the constraint that we have at that point is that the user must be in the hyper-v admin group, otherwise they will not be able to create/delete any VM.

Suggest potential solution

During the installation of podman we could check if the user is already in the hyperv admin group and, if not, add it there.

Have you considered any alternatives?

A clear and concise description of any alternative solutions or features you've considered.

Additional context

This issue is related to #24813 and i opened it so we don't lose this enhancement idea.
I'll close/update it based on how that PR evolves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. machine windows issue/bug on Windows
Projects
None yet
Development

No branches or pull requests

3 participants