Richard Murray <
">
> writes:
> Is it possible to do the equivalant of a 'vagrant halt' or a 'vagrant up'
> using Test Kitchen?
One thing you can do is cd into the directory where kitchen-vagrant
writes the Vagrantfile and run vargant commands. So you can do something
like:
cd .kitchen/kitchen-vagrant/default-ubuntu-1204
vagrant rsync
You can also set the VAGRANT_CWD environment variable but that will be
less useful if you have more than one box going in your kitchen setup.
> kitchen destroy
> kitchen create
> kitchen converge
>
> Is there any way to halt the vm and just bring it back up again without
> having to re-provision it?
Usually, kitchen converge is enough for me (don't need the explicit
create). Also for me, on an OS X laptop, I can suspend the laptop and my
vm is ok.
But as described above, I've done vagrant suspend/resume and had that
work.
+ seth