From 8defa73000f19d35ed09d73d9e2482ef85bbb8da Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 16 Jun 2015 15:21:47 -0700 Subject: [PATCH] calamari_setup.py: tear down mounted ISO Fixes: #11457 Signed-off-by: Dan Mick --- tasks/calamari_setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/calamari_setup.py b/tasks/calamari_setup.py index a7106c2a6ea23..858afd70cac9f 100644 --- a/tasks/calamari_setup.py +++ b/tasks/calamari_setup.py @@ -259,6 +259,8 @@ def calamari_install(config, cal_svr): yield finally: log.info('Cleaning up after Calamari installation') + if icetype == 'iso': + cal_svr.run(['sudo', 'umount', mountpoint]) if delete_iceball: os.unlink(iceball_file) -- 2.39.5