create kvm Debian 10 with virsh by jofrantoba



wget -bqc https://saimei.ftp.acc.umu.se/debian-cd/current/amd64/iso-cd/debian-10.4.0-amd64-xfce-CD-1.iso

qemu-img create -f qcow2 /opt/images/oracle19c-vm.qcow2 200G

sudo virt-install --name vm_debian10_fe --ram 2048 --vcpu 2 --disk path=/opt/images/debian10_fe-vm.qcow2 --os-type linux --os-variant debian10 --network bridge=br2 --graphics vnc,listen=0.0.0.0 --console pty,target_type=serial --cdrom '/opt/iso/debian-10.4.0-amd64-xfce-CD-1.iso'

Written by @jofrantoba

Comentarios