Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
add libvirt group
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Stephens <[email protected]>
  • Loading branch information
patrick-stephens committed Nov 13, 2023
1 parent 10a196a commit 76dfdf6
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y qemu-kvm libvirt-daemon libvirt-daemon-system network-manager
shell: bash

- name: Set up user
run: |
sudo groupadd libvirt || true
sudo groupmod -a -U $USER libvirt
shell: bash

- name: Download CRC
run: curl -sSfLO https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz
shell: bash
Expand All @@ -27,15 +33,6 @@ jobs:
run: echo '${{ secrets.OPENSHIFT_PULL_SECRET }}' > ./pull-secret.txt
shell: bash

- name: Debug
run: |
sudo groupadd libvirt
sudo groupmod -a -U $USER libvirt
whoami
groups
sudo groups
shell: bash

- name: Configure CRC
run: |
/usr/local/bin/crc config set pull-secret-file "$PWD/pull-secret.txt"
Expand Down

0 comments on commit 76dfdf6

Please sign in to comment.