Commit d3e2f63 1 parent ab0f13a commit d3e2f63 Copy full SHA for d3e2f63
File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ set_etc_environment_variable "AGENT_TOOLSDIRECTORY" "${AGENT_TOOLSDIRECTORY}"
33
33
set_etc_environment_variable " RUNNER_TOOL_CACHE" " ${AGENT_TOOLSDIRECTORY} "
34
34
chmod -R 777 $AGENT_TOOLSDIRECTORY
35
35
36
+ # https://github.com/orgs/community/discussions/47563
37
+ echo ' net.ipv6.conf.all.disable_ipv6=1' | tee -a /etc/sysctl.conf
38
+ echo ' net.ipv6.conf.default.disable_ipv6=1' | tee -a /etc/sysctl.conf
39
+ echo ' net.ipv6.conf.lo.disable_ipv6=1' | tee -a /etc/sysctl.conf
40
+
36
41
# https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html
37
42
# https://www.suse.com/support/kb/doc/?id=000016692
38
43
echo ' vm.max_map_count=262144' | tee -a /etc/sysctl.conf
Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ set_etc_environment_variable "AGENT_TOOLSDIRECTORY" "${AGENT_TOOLSDIRECTORY}"
33
33
set_etc_environment_variable " RUNNER_TOOL_CACHE" " ${AGENT_TOOLSDIRECTORY} "
34
34
chmod -R 777 $AGENT_TOOLSDIRECTORY
35
35
36
+ # https://github.com/orgs/community/discussions/47563
37
+ echo ' net.ipv6.conf.all.disable_ipv6=1' | tee -a /etc/sysctl.conf
38
+ echo ' net.ipv6.conf.default.disable_ipv6=1' | tee -a /etc/sysctl.conf
39
+ echo ' net.ipv6.conf.lo.disable_ipv6=1' | tee -a /etc/sysctl.conf
40
+
36
41
# https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html
37
42
# https://www.suse.com/support/kb/doc/?id=000016692
38
43
echo ' vm.max_map_count=262144' | tee -a /etc/sysctl.conf
You can’t perform that action at this time.
0 commit comments