Cyber Deals - Get up to 65% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

# create a vm

$ virt-install \
    --name fed34 \
    --ram 512 \
    --vcpus 1 \
    --disk path=/var/lib/libvirt/images/fed34.img,size=20 \
    --os-variant fedora34 \
    --os-type linux \
    --network bridge=br0 \
    --graphics none \
    --console pty,target_type=serial \
    --location 'https://mirror.arizona.edu/fedora/linux/releases/34/Server/x86_64/os/' \
    --extra-args 'console=ttyS0,115200n8 serial'
Disclaimer: Views expressed in articles are those of the respective authors and do not necessarily reflect the views of their employers or this site. While we aim for accuracy, please verify information before relying on it, and let us know if you spot an error.
Share: