apt update
apt upgrade
apt install vim
vim /etc/apt/sources.list
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription
/etc/apt/sources.list.d/pve-enterprise.list,將它註解。
取消 Enterprise Repository 更新來源
# deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
vim /etc/apt/sources.list.d/pve-enterprise.list
pve5to6
apt update && apt dist-upgrade -y
vim /etc/apt/sources.list.d/pve-enterprise.list
reboot
apt update && apt dist-upgrade -y
apt list --upgradable
pve5to6
systemctl stop pve-ha-lrm
echo "deb http://download.proxmox.com/debian/corosync-3/ stretch main" > /etc/apt/sources.list.d/corosync3.list
systemctl start pve-ha-lrm && systemctl start pve-ha-crm
pveversion --verbose
pveversion -v
vim /etc/apt/sources.list.d/corosync3.list
apt list --upgradable
systemctl stop pve-ha-lrm
systemctl stop pve-ha-crm
apt list --upgradable
apt update
apt dist-upgrade
systemctl start pve-ha-lrm
systemctl start pve-ha-crm
sed -i 's/stretch/buster/g' /etc/apt/sources.list
解決辦法容易,您可以將 PVE 的更新來源切換為 No-Subscription Repository 或 Test Repository,即可順利更新。
請以文字編輯器開啟 /etc/apt/sources.list,並加入以下這行。
切換更新來源為 No-Subscription Repository
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription
再將原本的 Enterprise Repository 給取消,請以文字編輯器開啟 /etc/apt/sources.list.d/pve-enterprise.list,將它註解。
取消 Enterprise Repository 更新來源
# deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
ovftool.exe C:\VM_1018\win2003-apsrv-15x C:\VM_1018\win2003-apsrv-15x.ova
[2019/12/15 補充]
記得搭配版本號調整,Proxmox VE 5/Debian 9 請依上方輸入 stretch,Proxmox VE 6/Debian 10 請輸入為 buster。
VMDK 轉為 QCOW2
qemu-img convert -f vmdk disk.vmdk -O qcow2 disk.qcow2
QCOW2 轉為 VMDK
qemu-img convert -f qcow2 disk.qcow2 -O vmdk disk.vmdk
RAW 轉為 QCOW2
qemu-img convert -f raw -O qcow2 disk.img disk.qcow2
qemu-img convert -f raw -O qcow2 vm-9913-disk-0.img vm-9913-disk-0.qcow2
vm-9913-disk-0.raw
VMDK 轉為 RAW
qemu-img convert -f vmdk disk.vmdk -O raw disk.raw
RAW 轉為 VMDK
qemu-img convert -f raw disk.raw -O vmdk disk.vmdk
VDI 轉為 VMDK
qemu-img convert -f vdi disk.vdi -O vmdk disk.vmdk
VHD 轉為 VMDK
qemu-img convert -f vpc disk.vpc -O vmdk disk.vmdk
沒有留言:
張貼留言