1 2 3 4 5 6 7 8 9
| # qemu-img create -f qcow2 centos.img 10G qemu-system-x86_64 -L /usr/share/kvm/ -m 2048 -enable-kvm centos.img -cdrom ./CentOS-7-x86_64-Minimal-2009.iso -vnc 10.10.10.123:0 qemu-system-x86_64 -L /usr/share/kvm/ -m 2048 -enable-kvm centos.img -net nic -net user,hostfwd=::22345-:22 -vnc 10.10.10.123:0
# qemu-img create -f qcow2 alpine.img 2G qemu-system-x86_64 -L /usr/share/kvm/ -m 2048 -enable-kvm alpine.img -cdrom ./alpine-virt-3.18.3-x86_64.iso -boot d -vnc 10.10.10.123:0 -nographic qemu-system-x86_64 -L /usr/share/kvm/ -m 2048 -enable-kvm alpine.img -net nic -net user,hostfwd=::22345-:22 -vnc 10.10.10.123:0 -nographic
|