VagrantFile:
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
config.vm.box = "zenshade/mint64-xfce-20"
config.vm.box_version = "1.0.0"
config.vm.hostname="master1"
config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
vb.gui = true
#
# # Customize the amount of memory on the VM:
vb.memory = 1500
vb.cpus = 2
vb.name = "kube-master1"
if !File.exist?("disk/master1.vdi")
vb.customize [
'createhd',
'--filename', 'disk/master1',
'--format', 'VDI',
'--size', 20000
]
end
end
end运行后,我得到以下错误:
The checksum of the downloaded box did not match the expected
value. Please verify that you have the proper URL setup and that
you're downloading the proper file.
Expected: 5cdefeacdd0259ea666f1112211af306 package.box
Received: 5cdefeacdd0259ea666f1112211af306我没有得到校验和错误背后的原因。我正在尝试设置linux mint xfce桌面。如何匹配校验和值?
发布于 2021-04-04 17:05:42
对于这个问题,我认为我们只有一个解决方案,那就是将你在流浪云上的包的校验和更新为预期的校验和。
预期:5cdefacdd0259ea666f1112211af306 package.box接收:5cdefacdd0259ea666f1112211af306
https://stackoverflow.com/questions/63437358
复制相似问题