- From: Seth Falcon <
>
- To:
- Subject: [chef] Re: Question on Test Kitchen usage - can you halt and restart the vm?
- Date: Wed, 26 Mar 2014 11:25:31 -0700
Hi there,
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
--
Seth Falcon | Development Lead | CHEF |
http://www.getchef.com/ | @sfalcon
Archive powered by MHonArc 2.6.16.