mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Oops, unmount the contents of this (temporary) onie boot context
This commit is contained in:
@@ -168,6 +168,12 @@ class App(SubprocessMixin, object):
|
||||
##self.grubEnv = ConfUtils.GrubEnv(log=self.log.getChild("grub"))
|
||||
|
||||
with OnieBootContext(log=self.log) as self.octx:
|
||||
|
||||
self.octx.ictx.attach()
|
||||
self.octx.ictx.unmount()
|
||||
self.octx.ictx.detach()
|
||||
# XXX roth -- here, detach the initrd mounts
|
||||
|
||||
self.octx.detach()
|
||||
|
||||
if self.octx.onieDir is not None:
|
||||
|
||||
Reference in New Issue
Block a user