Merge pull request #1429 from ogayot/LP#1990239
cdrom: make sure we unmount the cdrom only once
This commit is contained in:
commit
5c636acc30
|
@ -264,7 +264,7 @@ class AptConfigurer:
|
|||
|
||||
await self.unmount(
|
||||
Mountpoint(mountpoint=target_mnt.p('cdrom')),
|
||||
remove=False)
|
||||
remove=True)
|
||||
os.rmdir(target_mnt.p('cdrom'))
|
||||
|
||||
await _restore_dir('etc/apt')
|
||||
|
|
Loading…
Reference in New Issue