def destroy(self):
if self.enable_proc_cleanup:
self.do_proc_cleanup()
- if self.enable_home_cleanup:
- self.do_home_cleanup()
def blacklist(self):
if self._node_id:
self._logger.info("Cleaning up home on %s", self.hostname)
cmds = [
- "find . -maxdepth 1 ! -name '.bash*' ! -name '.' -execdir rm -rf {} + "
+ "find . -maxdepth 1 -name 'nepi-*' -execdir rm -rf {} + "
]
for cmd in cmds: