fixes cleaning up of ironic directory from /etc
Closes-Bug: 1391083
Change-Id: Ic47161ab375716cc39ee1a7dd57034782717e323
diff --git a/lib/ironic b/lib/ironic
index cf005a7..ffbfc72 100644
--- a/lib/ironic
+++ b/lib/ironic
@@ -177,7 +177,7 @@
# cleanup_ironic() - Remove residual data files, anything left over from previous
# runs that would need to clean up.
function cleanup_ironic {
- sudo rm -rf $IRONIC_AUTH_CACHE_DIR
+ sudo rm -rf $IRONIC_AUTH_CACHE_DIR $IRONIC_CONF_DIR
}
# configure_ironic_dirs() - Create all directories required by Ironic and