diff --git a/doc/source/configuration.rst b/doc/source/configuration.rst index 00d17a34b..96be0e9f6 100644 --- a/doc/source/configuration.rst +++ b/doc/source/configuration.rst @@ -446,6 +446,7 @@ Selecting the OpenStack driver adds the following options to the launch-retries: 3 image-name-format: '{image_name}-{timestamp}' hostname-format: '{label.name}-{provider.name}-{node.id}' + post-upload-hook: /usr/bin/custom-hook diskimages: - name: trusty meta: @@ -567,6 +568,20 @@ Selecting the OpenStack driver adds the following options to the Format for image names that are uploaded to providers. + .. attr:: post-upload-hook + :type: string + :default: None + + Filename of an optional script that can be called after an image has + been uploaded to a provider but before it is taken into use. This is + useful to perform last minute validation tests before an image is + really used for build nodes. The script will be called as follows: + + ``