Updated the installer such that in test mode all built containers are
transferred to the install targets. This allows new containers to be
tested before they are added to the production list.
Changed the order in which some install steps were executed in test mode
to allow walking away from the process more quickly by prompting for
information earlier.
Updated the docker service instantiation to use the newly sumbmitted
compose files rather than the command line.
Once the installer is built in test mode it's started automatically
rather than requiring intervention and then exists when it's completed
the deployment of the cluster. This will be useful when integrating into
the automated build process later.

Change-Id: Id978cae69b53c605abefeb9b55f2671f9b9cfd20
diff --git a/install/cleanup.sh b/install/cleanup.sh
index c3e545f..f1e4a68 100755
--- a/install/cleanup.sh
+++ b/install/cleanup.sh
@@ -1,13 +1,18 @@
 #!/bin/bash
 
-rm ansible/host_vars/*
-rm ansible/roles/voltha/templates/daemon.json
+rm -f ansible/host_vars/*
+rm -f ansible/roles/voltha/templates/daemon.json
 rm -fr volthaInstaller-2/
 rm -fr volthaInstaller/
-rm ansible/volthainstall.retry
-rm key.pem
+rm -f ansible/volthainstall.retry
+rm -fr .test
+rm -f key.pem
 sed -i -e '/voltha_containers:/,$d' ansible/group_vars/all
+git checkout ../ansible/roles/docker/templates/daemon.json
 git checkout ansible/hosts/voltha
 git checkout ansible/hosts/installer
 git checkout ../settings.vagrant.yaml
-
+git checkout settings.vagrant.yaml 
+git checkout ansible/group_vars/all
+git checkout ansible/roles/docker/templates/docker.cfg
+git checkout install.cfg