diff options
author | Erik Troan <ewt@redhat.com> | 2000-12-12 22:35:39 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-12-12 22:35:39 +0000 |
commit | 3d7f083b542e9163bac6143b1c8cd5e8a96b5632 (patch) | |
tree | c204c7d77adf1ab2135a82911bd8e2cbd5c7b4c0 /image.py | |
parent | 4b46f922ff057de820d64bdf33fd8472a484d189 (diff) | |
download | anaconda-3d7f083b542e9163bac6143b1c8cd5e8a96b5632.tar.gz anaconda-3d7f083b542e9163bac6143b1c8cd5e8a96b5632.tar.xz anaconda-3d7f083b542e9163bac6143b1c8cd5e8a96b5632.zip |
cleanup loopback nfs installs
Diffstat (limited to 'image.py')
-rw-r--r-- | image.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -22,6 +22,11 @@ class ImageInstallMethod(InstallMethod): def readHeaders(self): return HeaderListFromFile(self.tree + "/RedHat/base/hdlist") + def writeCleanupPath(self, f): + isys.makeDevInode("loop0", "/tmp/loop0") + f.write("umount /mnt/runtime\n") + f.write("lounsetup /tmp/loop0\n") + def __init__(self, tree): InstallMethod.__init__(self) self.tree = tree |