1. qemu-img create -f qcow2 centos.qcow2 32G
2. wget http://mirror.kakao.com/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso
3.
virt-install \
--name centos \
--ram 4096 \
--disk path=/home/sungjin/images_host/centos.qcow2,size=30 \
--vcpus 2 \
--os-type linux \
--os-variant rhel8.0 \
--graphics none \
--console pty,target_type=serial \
--location '/home/sungjin/CentOS-7-x86_64-Minimal-2009.iso' \
--extra-args 'console=ttyS0,115200n8 serial' --check path_in_use=off
댓글 영역