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 revision Previous revision
didattici:virt-manager [2020/06/28 11:40]
profpro
didattici:virt-manager [2020/06/28 19:41] (current)
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: 2020/06/28 19:41 by profpro