This is an automated email from the ASF dual-hosted git repository.

oflebbe pushed a commit to branch bigtop-alpha
in repository https://gitbox.apache.org/repos/asf/bigtop.git

commit 68d77e4128f2022ccfc6e39d98e37ce3928f6091
Author: Olaf Flebbe <[email protected]>
AuthorDate: Sat Jul 13 17:44:27 2019 +0200

    silence missing /etc/default/locales warning
---
 provisioner/utils/setup-env-debian.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/provisioner/utils/setup-env-debian.sh 
b/provisioner/utils/setup-env-debian.sh
index 92e5715..8fafd7b 100755
--- a/provisioner/utils/setup-env-debian.sh
+++ b/provisioner/utils/setup-env-debian.sh
@@ -20,10 +20,13 @@ enable_local_repo=${1:-false}
 apt-get update
 # Setup rng-tools to improve virtual machine entropy performance.
 # The poor entropy performance will cause kerberos provisioning failed.
-apt-get -y install rng-tools
+apt-get -y install rng-tools locales
 sed -i.bak 's@#HRNGDEVICE=/dev/null@HRNGDEVICE=/dev/urandom@' 
/etc/default/rng-tools
 service rng-tools start
 
+
+echo "Acquire::http { Proxy \"http://192.168.178.34:3142\";; };" 
>/etc/apt/apt.conf.d/01proxy
+
 if [ $enable_local_repo == "true" ]; then
     echo "deb file:///bigtop-home/output/apt bigtop contrib" > 
/etc/apt/sources.list.d/bigtop-home_output.list
     # In BIGTOP-2796 repo installed by puppet has priority 900, here we set 
higher priority for local repo

Reply via email to