상세 컨텐츠

본문 제목

how to install centos with no gui qemu

카테고리 없음

by Grip! 2023. 11. 24. 16:05

본문

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

댓글 영역