User Tools

Site Tools


didattici:virt-manager

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
didattici:virt-manager [2020/06/28 11:40] profprodidattici:virt-manager [2020/06/28 19:41] profpro
Line 59: Line 59:
 </network> </network>
  
 +-----
 +Per modificare un disco qcow2 (dopo aver spento la macchina virtuale)
  
 +  apt-get install libguestfs-tools
 +
 +#
 +  virt-filesystems --long --parts --blkdevs -h -a /var/lib/libvirt/images/archlinux.qcow2
 +  cd /var/lib/libvirt/images
 +  qemu-img create -f qcow2 -o preallocation=metadata outdisk.qcow2 8500M
 +  virt-resize /var/lib/libvirt/images/archlinux.qcow2 outdisk.qcow2
 +  rimuovere vecchia immagine
didattici/virt-manager.txt · Last modified: 2024/02/02 08:47 by profpro