JIRA: DOVETAIL-426
1. ImportError: No module named netaddr
2. rm: cannot remove '/home/opnfv/dovetail/userconfig/*': No such file or directory
Change-Id: I81ad703667c798589855fdafc1668644e9a342b9
Signed-off-by: xudan <xudan16@huawei.com>
sudo virtualenv venv
source venv/bin/activate
sudo pip install -e ./ >/dev/null
+sudo pip install netaddr
if [[ ${INSTALLER_TYPE} == compass ]]; then
options="-u root -p root"
pod_file_dir="/home/opnfv/dovetail/userconfig"
if [ -d ${pod_file_dir} ]; then
- sudo rm -r ${pod_file_dir}/*
+ sudo rm -rf ${pod_file_dir}/*
else
sudo mkdir -p ${pod_file_dir}
fi