问题描述
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桌面。如何匹配校验和值?
解决方法
对于这个问题,我认为我们只有一种解决方案可以将 vagrant cloud 上的包校验和更新为预期校验和。
预期:5cdefeacdd0259ea666f1112211af306 package.box 收到:5cdefeacdd0259ea666f1112211af306