Skip to content

Commit 7c21675

Browse files
authored
Remove chgrp on /dev/kvm (#9)
* remove chgrp on /dev/kvm Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com> * log group membership Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com> --------- Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
1 parent 5af3154 commit 7c21675

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,12 @@ runs:
157157
if command -v dnf > /dev/null 2>&1; then
158158
echo "Detected mariner / hyperv"
159159
ls -al /dev/mshv
160-
whoami
161160
else
162161
echo "Detected Ubuntu / kvm"
163162
sudo ls -al /dev/kvm
164-
sudo chgrp $(whoami) /dev/kvm
165-
sudo ls -al /dev/kvm
166163
fi
164+
whoami
165+
groups
167166
echo "RUST_BACKTRACE=full" >> $GITHUB_ENV
168167
shell: bash
169168

0 commit comments

Comments
 (0)