mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
calamari_setup.py: tear down mounted ISO
Fixes: #11457 Signed-off-by: Dan Mick <dan.mick@redhat.com>
This commit is contained in:
parent
e2c6341a00
commit
8defa73000
@ -259,6 +259,8 @@ def calamari_install(config, cal_svr):
|
|||||||
yield
|
yield
|
||||||
finally:
|
finally:
|
||||||
log.info('Cleaning up after Calamari installation')
|
log.info('Cleaning up after Calamari installation')
|
||||||
|
if icetype == 'iso':
|
||||||
|
cal_svr.run(['sudo', 'umount', mountpoint])
|
||||||
if delete_iceball:
|
if delete_iceball:
|
||||||
os.unlink(iceball_file)
|
os.unlink(iceball_file)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user