Skip to content

Commit

Permalink
cleanup previous vm
Browse files Browse the repository at this point in the history
  • Loading branch information
hanthor committed Dec 18, 2024
1 parent 27afa94 commit 00b5e16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ build-vm image type="qcow2":
sudo qemu-img resize output/qcow2/disk.qcow2 80G

run-vm:
virsh dominfo centos-workstation-main &> /dev/null && \
( virsh destroy centos-workstation-main ; virsh undefine centos-workstation-main )
virt-install --import \
--name centos-workstation-main \
--disk output/qcow2/disk.qcow2,format=qcow2,bus=virtio \
Expand Down

0 comments on commit 00b5e16

Please sign in to comment.