Test Kitchen creates its own Vagrantfile, based on .kitchen.yml config.
Therefore you have to specify your box (which should be already available for Vagrant, check vagrant box list
) in .kitchen.yml. In your example it would be:
platforms:
- name: ubuntu-12.04
driver:
box: centos-6.5-x86_64-minimal
And kitchen will use box available for Vagrant, without downloading it.
You can also specify other Vagrant options, e.g.
- name: centos-vagrant
driver:
provider: parallels
box: centos-6.5-x86_64-minimal
customize:
memsize: 1024
cpus: 2
You can see more examples eg. in my Vagrant cookbooks lemp-server or or Opscode's yum.