mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
SO Setup - Ignore proxy settings if they choose open
This commit is contained in:
@@ -586,8 +586,10 @@ set_initial_firewall_policy() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
set_updates() {
|
set_updates() {
|
||||||
|
|
||||||
|
if [ $MASTERUPDATES == 'MASTER' ]; then
|
||||||
if [ $OS == 'centos' ]; then
|
if [ $OS == 'centos' ]; then
|
||||||
echo "proxy=http://$MSRV:3142" >> /etc/yum.conf
|
echo "proxy=http://$MSRV:3142" >> /etc/yum.conf
|
||||||
|
|
||||||
@@ -598,6 +600,7 @@ set_updates() {
|
|||||||
echo "Acquire::https::Proxy \"http://$MSRV:3142\";" >> /etc/apt/apt.conf.d/00Proxy
|
echo "Acquire::https::Proxy \"http://$MSRV:3142\";" >> /etc/apt/apt.conf.d/00Proxy
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
set_node_type() {
|
set_node_type() {
|
||||||
|
|||||||
Reference in New Issue
Block a user