Skip to content

pre-start-script job from os-conf/22.1.2

Github source: 8202fe3 or master branch

Properties

script

Script that is run during pre-start to allow additional setup of environment, run as root user.

Example
|-
  #!/bin/bash
  apt-get update && apt-get install wget git tmux -y

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/pre-start-script/ directory (learn more).

  • bin/pre-start (from pre-start.sh)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.

This job relies on no runtime packages.