# File soll dynamisch wachsen, preallocation==off qemu-img create -f qcow2 -o preallocation=off dyn300g.qcow2 300G mv dyn300g.qcow2 /var/lib/libvirt/images # Neue VM unter Verwendung dieses files als disk installieren virt-install \ --name ubuntu2204 \ --ram 4096 \ --disk path=/var/lib/libvirt/images/dyn300g.qcow2 \ --vcpus 2 \ --os-variant ubuntu20.04 \ --network network=default \ --graphics none \ --console pty,target_type=serial \ --location /home/core/tmp/ubuntu-22.04-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper/initrd \ --extra-args 'console=ttyS0,115200n8