[node-patches] Change in ovirt-node[master]: edit-node: remove dd-isoXXX dir during cleanup
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Mon Jun 17 07:58:15 UTC 2013
Fabian Deutsch has posted comments on this change.
Change subject: edit-node: remove dd-isoXXX dir during cleanup
......................................................................
Patch Set 2: (1 inline comment)
....................................................
File tools/edit-node
Line 1224: # cleanup local repo if exists
Line 1225: if os.system("umount %s/tmp/yumrepo" % self._instroot):
Line 1226: os.system("rm -rf %s/tmp/yumrepo" % self._instroot)
Line 1227: if os.path.exists(self.dd_dir):
Line 1228: os.system("umount %s" % self.dd_dir)
you could use subprocess.check_call here to check if the path really got umounted
Line 1229: shutil.rmtree(self.dd_dir)
Line 1230: return
Line 1231:
Line 1232: def _run_yum_install(self, pkgs):
--
To view, visit http://gerrit.ovirt.org/15400
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: If22c7a318109f47d580cffc3c10672a61eaab16e
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the node-patches
mailing list