mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-27 18:25:00 +00:00
Unmount the EFI directory before doing a re-install
This commit is contained in:
@@ -195,7 +195,7 @@ class App(SubprocessMixin):
|
||||
pdir,))
|
||||
|
||||
for m in pm.mounts:
|
||||
if m.dir.startswith('/mnt/onl'):
|
||||
if m.dir.startswith('/mnt/onl') or m.dir.startswith('/boot'):
|
||||
if not self.force:
|
||||
self.log.error("directory %s is still mounted (try --force)", m.dir)
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user