222 字
1 分钟
Proxmox VE 's cloud-images 之 Ubuntu 篇
1.下载云镜像
-
可以在Ubuntu官方下载https://cloud-images.ubuntu.com/

TIP如何官方镜像慢可以使用镜像
中国科学院软件研究所https://mirror.iscas.ac.cn/ubuntu-cloud-images/
华为云https://repo.huaweicloud.com/ubuntu-cloud-images/

2.创建虚拟机

升级程序包建议选择否
现在就可以直接开启虚拟机了
3.后续
TIP如果只设置密码需要进行ssh root 远程登录,除了需要修改/etc/ssh/sshd_config 之外还需要注意/etc/ssh/sshd_config.d/ 下的配置文件 ; sshd_config.d 下的配置文件优先级高于sshd_config 可以选择修改、删除或者选择在sshd_config 中 注释掉包含sshd_config.d
- 更换中科大APT 源 (可选)
#DEB822 格式sudo sed -i 's@//.*archive.ubuntu.com@//mirrors.ustc.edu.cn@g' /etc/apt/sources.list.d/ubuntu.sources
#sources.list 格式sudo sed -i 's@//.*archive.ubuntu.com@//mirrors.ustc.edu.cn@g' /etc/apt/sources.list- 安装qemu-guest-agent
sudo apt updatesudo apt install qemu-guest-agent -ysudo systemctl start qemu-guest-agent- 现在可以将虚拟机关机转换为模板了
Proxmox VE 's cloud-images 之 Ubuntu 篇
https://blog.fiveqm.com/archives/proxmox_ve_cloud-image_ubuntu