是否可以重新启动或重置由 test-kitchen 创建的 vagrant 实例?

is it possible to restart or reset a vagrant instance created by test-kitchen?

有时我必须在机器上进行测试期间重新启动或结束我的会话。

因为完全收敛可能需要很长时间,所以能够像我使用 vagrant 命令那样启动或停止机器会很棒。

使用测试厨房创建的机器是否可行?

现在唯一的方法是:

cd to the directory for your vm inside .kitchen/kitchen-vagrant/yourinstancehere and issue a vagrant reload command, that should restart your VM

来源:https://github.com/test-kitchen/kitchen-vagrant/issues/115#issuecomment-52943418