Clean up etcd generated file

Etcd set up process [1] will generate some extra
files, this commit cleans up the files.

[1]https://review.openstack.org/#/c/365552/

Change-Id: Id09c89191575e8039988aaad09b693e844e084cb
This commit is contained in:
Wenzhi Yu 2016-09-12 11:22:19 +08:00
parent eecdc8a756
commit 7ce37b1dc2
2 changed files with 6 additions and 0 deletions

3
.gitignore vendored
View File

@ -59,3 +59,6 @@ releasenotes/build
# generated config file
etc/zun/zun.conf.sample
# etcd config file
devstack/etcd.override

View File

@ -325,6 +325,9 @@ function install_etcd_server {
elif is_fedora; then
configure_etcd_systemd_service
fi
# clean up etcd dirctory
sudo rm -rf $ZUN_DIR/etcd
}
function install_etcd_client {