直接放Bash ,执行完后使用VNC工具连接即可

apt-get update && apt-get -y install qemu-system-x86  
wget -O /tmp/installer.iso http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/installer-amd64/current/images/netboot/mini.iso  
qemu-system-x86_64 -net nic -net user,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443 -m 1024M -localtime -enable-kvm -hda /dev/sda  -vnc 0.0.0.0:0 -cdrom /tmp/installer.iso -boot d