Devananda van der Veen 1c9111eaa2 PXE driver should rmtree directories it created
Baremetal PXE driver was failing to delete the per-instance tftpboot and
image directories which it created when the instance was deleted. This
happened partly because of dangling files within the directory, and
partly because 'unlink' does not remove directories and the error was
squelched.

Now, when destroy()ing an instance, PXE driver will call shutil.rmtree()
on the per-instance directories which it created.

Fixes bug 1101048.

Change-Id: I682d0264288add488ea23e5d5200357b7be52dd9
2013-01-18 09:40:37 -08:00
Description
A service for managing and provisioning Bare Metal servers.
307 MiB
Languages
Python 98.1%
Shell 1.8%