Skip to content

Commit 5224726

Browse files
committed
Create default pool
1 parent 27581a1 commit 5224726

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ jobs:
4545
- name: Permissions workaround
4646
run: |
4747
sudo sed -i -r 's/^#?[[:space:]]*security_driver[[:space:]]*=[^=]+/security_driver = "none"/' /etc/libvirt/qemu.conf
48-
sudo chmod 755 /var/lib/libvirt/images
4948
stat /var/run/libvirt/libvirt-sock
50-
sudo virsh -c qemu:///system pool-list --all
51-
sudo virsh -c qemu:///system net-list --all
49+
sudo install -o root -g -root -m 755 -d /var/lib/libvirt/images
50+
virsh -c qemu:///system pool-create-as default dir --target /var/lib/libvirt/images
51+
virsh -c qemu:///system pool-list --all
52+
virsh -c qemu:///system net-list --all
5253
5354
- name: Enable KVM group perms
5455
run: |

0 commit comments

Comments
 (0)