creation of docker file fixed
diff --git a/kitchen-init.sh b/kitchen-init.sh
index f309683..b5737ba 100755
--- a/kitchen-init.sh
+++ b/kitchen-init.sh
@@ -46,9 +46,10 @@
test -e .kitchen.yml || \
envtpl < <(curl -skL "${SOURCE_REPO_URI}/.kitchen.yml" -- | sed 's/cookiecutter\.kitchen_//g') > .kitchen.yml
-[[ "$DRIVER" != "docker" ]] && {
+[[ "$driver" != "docker" ]] && {
test -e .kitchen.docker.yml || \
- envtpl < <(curl -skL "${SOURCE_REPO_URI}/.kitchen.yml" -- | sed 's/cookiecutter\.kitchen_//g' | head -n12 ) > .kitchen.docker.yml
+ driver=docker \
+ envtpl < <(curl -skL "${SOURCE_REPO_URI}/.kitchen.yml" -- | sed 's/cookiecutter\.kitchen_//g' | head -n12 ) > .kitchen.docker.yml
}
test -e .kitchen.openstack.yml || \