From 180b2497edd9e91c279b0764a88f5fa9953873e2 Mon Sep 17 00:00:00 2001 From: Joshua Kugler Date: Fri, 3 Aug 2018 11:03:16 -0800 Subject: [PATCH 1/2] Add example for vagrantfile_erb --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index b5b07bfb..10b6b62f 100644 --- a/README.md +++ b/README.md @@ -529,6 +529,11 @@ object, which means that methods like `config[:kitchen_root]`, `instance.name`, and `instance.provisioner[:run_list]` can be used to compose a custom Vagrantfile if necessary. +```yaml +driver: + vagrantfile_erb: CustomVagrantfile.erb +``` + **Warning:** Be cautious when going down this road as your setup may cease to be portable or applicable to other Test Kitchen Drivers such as Ec2 or Docker. Using the alternative Vagrantfile template strategy may be a dangerous From 3e876e4962a59f24aaf92c5cb8031d3ac6dcfab9 Mon Sep 17 00:00:00 2001 From: Joshua Kugler Date: Fri, 3 Aug 2018 11:05:35 -0800 Subject: [PATCH 2/2] Corrected yaml --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 10b6b62f..88ae5fc9 100644 --- a/README.md +++ b/README.md @@ -530,6 +530,7 @@ and `instance.provisioner[:run_list]` can be used to compose a custom Vagrantfile if necessary. ```yaml +--- driver: vagrantfile_erb: CustomVagrantfile.erb ```