一、准备环境
1、配置源
# wget https://fedorapeople.org/groups/virt/virtio-win/virtio-win.repo -O /etc/yum.repos.d/virtio-win.repo
2、安装virtio-win
# yum install virtio-win -y
3、 查看包
# rpm -ql virtio-win-0.1.171-1.noarch | grep -i iso
/usr/share/virtio-win/virtio-win-0.1.171.iso
/usr/share/virtio-win/virtio-win.iso
# cd /usr/share/virtio-win
# du -sh *
3.6M drivers
3.7M guest-agent
2.9M virtio-win-0.1.171_amd64.vfd
355M virtio-win-0.1.171.iso
2.9M virtio-win-0.1.171_servers_amd64.vfd
2.9M virtio-win-0.1.171_servers_x86.vfd
2.9M virtio-win-0.1.171_x86.vfd
0 virtio-win_amd64.vfd
0 virtio-win.iso
0 virtio-win_servers_amd64.vfd
0 virtio-win_servers_x86.vfd
0 virtio-win_x86.vfd
4、上传镜像
engine-iso-uploader -i images upload virtio-win-0.1.1* -f
5、上述过程也可手动下载然后上传到仓库中
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/
二、创建虚拟机
1、创建vm
过程忽略或者参考:https://blog.csdn.net/wylfengyujiancheng/article/details/93866412
2、设置只允许一次启动参数
2、设置附加光驱、CD和启动项
推荐本站淘宝优惠价购买喜欢的宝贝:
本文链接:https://hqyman.cn/post/7031.html 非本站原创文章欢迎转载,原创文章需保留本站地址!
打赏微信支付宝扫一扫,打赏作者吧~
休息一下~~