Libguestfs – Comandos virt
Comandos:
Instalação
# apt-get install libguestfs-tools
Uso
# virt-df Ubuntu-Server.qcow2 -h
# virt-filesystems -a Ubuntu-Server.qcow2 -all --long -h
# virt-inspector -a Ubuntu-Server.qcow2
# virt-cat -a Ubuntu-Server.qcow2 /etc/hosts
# virt-diff -a Ubuntu-Server.qcow2 -A Rocky-Linux.qcow2
# virt-sparsify -a Ubuntu-Server.qcow2
# virt-resize -a Ubuntu-Server.qcow2
# virt-copy-in -a Ubuntu-Server.qcow2 ~ricardo/arquivo-download.tgz /home/osboxes
# virt-copy-out
# virt-ls -a Ubuntu-Server.qcow2 /home/osboxes
# virt-rescue -a Ubuntu-Server.qcow2
# virt-sysprep -a Ubuntu-Server.qcow2
# virt-v2v
# virt-p2v
# virt-p2v-make-disk