mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 20:26:49 +00:00
Add -e to .sh scripts
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
#Set ImageVersion and ImageOS env variables
|
||||
echo ImageVersion=$IMAGE_VERSION | tee -a /etc/environment
|
||||
echo ImageOS=$IMAGE_OS | tee -a /etc/environment
|
||||
@@ -22,4 +24,4 @@ chmod -R 777 $AGENT_TOOLSDIRECTORY
|
||||
|
||||
# https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html
|
||||
# https://www.suse.com/support/kb/doc/?id=000016692
|
||||
echo 'vm.max_map_count=262144' | tee -a /etc/sysctl.conf
|
||||
echo 'vm.max_map_count=262144' | tee -a /etc/sysctl.conf
|
||||
|
||||
Reference in New Issue
Block a user