Skip to content

doc: document execution frequency for x-shellscript MIME types - #7028

Open
sundeep8967 wants to merge 1 commit into
canonical:mainfrom
sundeep8967:fix/document-shellscript-frequencies
Open

doc: document execution frequency for x-shellscript MIME types#7028
sundeep8967 wants to merge 1 commit into
canonical:mainfrom
sundeep8967:fix/document-shellscript-frequencies

Conversation

@sundeep8967

Copy link
Copy Markdown

Summary of changes

This PR documents the behavior, execution frequencies, and storage paths for the text/x-shellscript-* MIME types in doc/rtd/explanation/format/mime.rst:

  • Added a reference table mapping text/x-shellscript-per-boot, text/x-shellscript-per-instance, and text/x-shellscript-per-once to their execution frequency and target directories under /var/lib/cloud/scripts/.
  • Clarified that scripts are executed in the final boot stage by the cc_scripts_user module.
  • Added a cross-reference note in doc/rtd/explanation/format/user-data-script.rst.

Fixes #6283

Testing done

Ran pytest unit tests locally:

pytest tests/unittests

All unit tests passed.

Explain execution frequencies (per-boot, per-instance, per-once) and
target directories under /var/lib/cloud/scripts/ for x-shellscript MIME
types. Add reference note in user-data-script docs.

Fixes canonicalGH-6283
@github-actions github-actions Bot added the documentation This Pull Request changes documentation label Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation This Pull Request changes documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs]: x-shellscript-per-boot is not properly documented

1 participant