Skip to content

Commit

Permalink
The default "runner" user is not in sudo group
Browse files Browse the repository at this point in the history
but in docker, adm, users, and systemd-journal group by default.
  • Loading branch information
nobuto-m committed Feb 10, 2025
1 parent a1dac1e commit b131a97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/sunbeam-multi-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,15 @@ jobs:
ip -br a
ip r
resolvectl --no-pager
whoami
groups
sudo grep -r . /etc/sudoers*
# TODO: check if greenfield or brownfield first
- name: Install prerequisites
if: ${{ !env.ACT }}
run: |
sudo apt-get update
sudo apt-get install -y uvtool j2cli
# make sure the default user is in the libvirt group
sudo adduser "$USER" libvirt
- name: Download a VM image
if: ${{ !env.ACT }}
run: |
Expand Down

0 comments on commit b131a97

Please sign in to comment.