From: Peter Barabas <peter.barabas@ericsson.com>
Date: Wed, 1 Jun 2016 08:31:54 +0000 (+0200)
Subject: Clean up after ourselves
X-Git-Tag: colorado.1.rc1~138
X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F14947%2F1;p=fuel.git

Clean up after ourselves

Change-Id: Id7579ef618b8cd922de325d9dc1c0b7a6c5587a7
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
---

diff --git a/deploy/deploy.py b/deploy/deploy.py
index 0d406412c..742e76baa 100644
--- a/deploy/deploy.py
+++ b/deploy/deploy.py
@@ -165,6 +165,8 @@ class AutoDeploy(object):
                      '-x "lost+found:" -V %s -o %s .'
                      % (iso_linux_bin, iso_label, new_iso))
 
+        delete(tmp_new_dir)
+
     def update_fuel_isolinux(self, file):
         with io.open(file) as f:
             data = f.read()