Add user to hyperv admin group during podman installation #25037
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
machine
windows
issue/bug on Windows
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.
The text was updated successfully, but these errors were encountered: