Fixes sysctl call on provisioning scripts. Refs #21461
[arvados-dev.git] / jenkins / packer-images / jenkins-image-workbench2.sh
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