DEBIAN_FRONTEND=noninteractive in osinstall_install_if_not_installed

This commit is contained in:
Thomas Goirand 2016-05-23 15:27:22 +02:00
parent c04103302f
commit f127ba784d
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -13,6 +13,7 @@ openstack-meta-packages (0.15) UNRELEASED; urgency=medium
* Also handling novaapi db.
* Correctly use KEYSTONE_ADMIN_PASS and not AUTH_TOKEN anymore when
preseeding endpoints.
* DEBIAN_FRONTEND=noninteractive in osinstall_install_if_not_installed.
[ Ondřej Nový ]
* Fixed VCS URLs (https).

View File

@ -33,7 +33,7 @@ osinstall_install_if_not_installed () {
local PKG_NAME
PKG_NAME=${1}
if ! osinstall_check_installed ${PKG_NAME} ; then
${APTGET} install ${PKG_NAME}
DEBIAN_FRONTEND=noninteractive ${APTGET} install ${PKG_NAME}
fi
}