From d75eed0a624a0cfffa5aa6da9647235d04321ba1 Mon Sep 17 00:00:00 2001 From: Sally Makin Date: Fri, 20 Sep 2024 14:48:01 +0100 Subject: [PATCH] include only vendor scripts --- doc/rtd/reference/yaml_examples/scripts.rst | 47 +-------------------- 1 file changed, 2 insertions(+), 45 deletions(-) diff --git a/doc/rtd/reference/yaml_examples/scripts.rst b/doc/rtd/reference/yaml_examples/scripts.rst index f773579180f..568e8008bfe 100644 --- a/doc/rtd/reference/yaml_examples/scripts.rst +++ b/doc/rtd/reference/yaml_examples/scripts.rst @@ -1,54 +1,11 @@ .. _cce-scripts: -Run scripts -*********** +Run vendor scripts +****************** Scripts can be run by cloud-init by ensuring that the scripts are placed in the correct directory on the datasource. -Run per-boot scripts -==================== - -Scripts in the ``scripts/per-boot`` directory are run on -every boot, and in alphabetical order. This module takes no config keys. - -For more information, refer to the -:ref:`scripts per boot module ` docs. - -Run per-instance scripts -======================== - -Scripts in the ``scripts/per-instance`` directory are run -when a new instance is first booted, and in alphabetical order. This module -takes no config keys. - -For more information, refer to the -:ref:`scripts per instance module ` docs. - -Run one-time scripts -==================== - -Scripts in the ``scripts/per-once`` directory are run only -once, and in alphabetical order. Changes to the instance will not force them -to be re-run. - -For more information, refer to the -:ref:`scripts per once module ` docs. - -Run all user scripts -==================== - -This module runs all user scripts present in the ``scripts`` directory. Any -cloud config parts with a ``#!`` will be treated as a script, and run in the -order they are specified in the configuration. This module takes no config -keys. - -For more information, refer to the -:ref:`scripts user module ` docs. - -Run vendor scripts -================== - Scripts in the ``scripts/vendor`` directory are run when a new instance is first booted, and in alphabetical order.