From 49ead2ee0313e225a100c40560a7d28cef0a9c6b Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Wed, 30 May 2018 16:08:51 -0400 Subject: [PATCH] Install Script - Add proxy support for clients --- so-setup-network.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/so-setup-network.sh b/so-setup-network.sh index 28632f543..9bab71bd0 100644 --- a/so-setup-network.sh +++ b/so-setup-network.sh @@ -460,6 +460,13 @@ sensor_pillar() { } +set_updates() { + + # Set it up so the updates roll through the master + echo "Acquire::http::Proxy "http://$MSRV:3142";" > /etc/apt/00Proxy + +} + set_node_type() { # Determine the node type based on whiplash choice @@ -875,6 +882,7 @@ if (whiptail_you_sure); then filter_nics whiptail_bond_nics whiptail_management_server + set_updates whiptail_nids whiptail_sensor_config # Calculate lbprocs so we can call it in the prompts @@ -928,6 +936,7 @@ if (whiptail_you_sure); then whiptail_management_nic echo "Why isn't this working" whiptail_management_server + set_updates whiptail_node_advanced if [ $NODESETUP == 'NODEADVANCED' ]; then whiptail_node_es_heap