每次我跑
kitchen test
它下载一个新的虚拟机框。有没有办法让它重新使用本地下载的盒子?
这是我的 .kitchen.yml 文件。
---
driver_plugin: vagrant
driver_config:
require_chef_omnibus: true
platforms:
- name: ubuntu-12.04
suites:
- name: default
run_list:
- recipe[my-rails-server::default]
attributes:
终端输出:
Downloading Chef for ubuntu...
downloading https://www.opscode.com/chef/metadata?v=&prerelease=false&p=ubuntu&pv=12.04&m=x86_64
to file /tmp/install.sh.1121/metadata.txt
trying wget...
url https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_11.10.0-1.ubuntu.12.04_amd64.deb
md5 21524287ed5631eb1c092ba7b589e968
sha256 7a0a898b3682462620de80230c7a73730dde7131ca069e1d926f6faf07e4fa2f
downloaded metadata file looks valid...
downloading https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_11.10.0-1.ubuntu.12.04_amd64.deb
to file /tmp/install.sh.1121/chef_11.10.0-1.ubuntu.12.04_amd64.deb
trying wget...
Checksum compare with sha256sum succeeded.
Installing Chef