TT#37257 Clean the old file removal in deployment.sh

* ngcp-installer*deb can be deleted right after the package installation

* ${TARGET}/config_*yml and ${TARGET}/constants_*.yml are leftovers.
They are no longer available on NGCP (long long time ago we created
them to upload CFG schema dump into git every night).
See commit ba06d2b145e3e20468de532e77fa501cd38a72e7 to netscript.git

Change-Id: I75a575233a5074143d7d35de26b33f161cf77e4f
changes/45/22045/2
Alexander Lutay 7 years ago
parent ef7cf74d4f
commit 3ae12974cd

@ -1576,7 +1576,8 @@ if "$NGCP_INSTALLER" ; then
echo "ngcp-installer: $INSTALLER"
cat << EOT | grml-chroot $TARGET /bin/bash
wget ${INSTALLER_PATH}/${INSTALLER}
dpkg -i $INSTALLER
dpkg -i ${INSTALLER}
rm -f "${INSTALLER}"
EOT
# generate installer configs
@ -2029,11 +2030,6 @@ EOF
fi # if [ -n "$PUPPET" ] ; then
# remove retrieved and generated files
rm -f ${TARGET}/config_*yml
rm -f ${TARGET}/constants_*.yml
rm -f ${TARGET}/ngcp-installer*deb
if [ -r "${INSTALL_LOG}" ] && [ -d "${TARGET}"/var/log/ ] ; then
cp "${INSTALL_LOG}" "${TARGET}"/var/log/
fi

Loading…
Cancel
Save