remove wrong IP forwarding configuration from entrypoint script

This commit is contained in:
Eduardo Silva
2025-12-31 16:13:57 -03:00
parent ed48533500
commit a7e874f76e

View File

@@ -6,9 +6,6 @@ if [ -n "$TZ" ]; then
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
fi fi
# Enable IP forwarding
sysctl -w net.ipv4.ip_forward=1 > /dev/null 2>&1 || echo "Warning: Could not set net.ipv4.ip_forward"
# Check required variables # Check required variables
if [ -z "$MASTER_SERVER_ADDRESS" ]; then if [ -z "$MASTER_SERVER_ADDRESS" ]; then
echo "ERROR: MASTER_SERVER_ADDRESS is not set." echo "ERROR: MASTER_SERVER_ADDRESS is not set."