Fixes sysctl call on provisioning scripts. Refs #21461
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 21 Feb 2024 18:10:43 +0000 (15:10 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 21 Feb 2024 18:10:43 +0000 (15:10 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

jenkins/packer-images/jenkins-image-with-docker.sh
jenkins/packer-images/jenkins-image-workbench2.sh

index fbc2e930f4d98488b827f7649cb24fc27009fe4d..81aa24444e26272ee93bac4e39df13b1e81fda92 100755 (executable)
@@ -24,4 +24,4 @@ sudo chown -R jenkins:jenkins /usr/local/arvados-dev/
 # React uses a lot of filesystem watchers (via inotify). Increase the default
 # so we have a higher limit at runtime.
 echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
-sysctl -p
\ No newline at end of file
+sudo sysctl -p
\ No newline at end of file
index 8a974489fe1e2575fbe6c3688ec853197b20cb2a..d014d7a0e29f61434d148508811c5daa6d774e27 100755 (executable)
@@ -19,7 +19,7 @@ fi
 # React uses a lot of filesystem watchers (via inotify). Increase the default
 # so we have a higher limit at runtime.
 echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
-sysctl -p
+sudo sysctl -p
 
 # Build the workbench2-build docker image
 sudo make workbench2-build-image