Increase the disk size of the runner

For the purpose of publishing the forgefriends releases, the disk size of the runner had to be increased which I did as follows on the hypervisor:

virsh destroy runner-host
cd /var/lib/libvirt/images/enough/forgefriends.lan
mv runner-host.qcow2 ~/runner-host.qcow2
qemu-img create -f qcow2 -o preallocation=metadata runner-host.qcow2 50G
virt-resize --expand /dev/sda1 ~/runner-host.qcow2 runner-host.qcow2
virsh start runner-host
1 Like