Bug #11457
closed
calamari_setup task does not tear down mount of ISO
Added by Dan Mick about 9 years ago.
Updated almost 9 years ago.
Description
calamari_setup, if given an ISO, will mount it on /mnt; it should also unmount it in the finally: clause of calamari_install
Untested:
--- 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_srv.run(['sudo', 'umount', mountpoint])
if delete_iceball:
os.unlink(iceball_file)
- Subject changed from calanari_setup task does not tear down mount of ISO to calamari_setup task does not tear down mount of ISO
- Status changed from 12 to Resolved
- Regression set to No
8defa73000f19d35ed09d73d9e2482ef85bbb8da
Also available in: Atom
PDF