summaryrefslogtreecommitdiff
path: root/cloudinit/handlers/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/handlers/__init__.py')
-rw-r--r--cloudinit/handlers/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/cloudinit/handlers/__init__.py b/cloudinit/handlers/__init__.py
index 62c1fd26..7d8a9208 100644
--- a/cloudinit/handlers/__init__.py
+++ b/cloudinit/handlers/__init__.py
@@ -50,6 +50,13 @@ INCLUSION_TYPES_MAP = {
"#cloud-config-archive": "text/cloud-config-archive",
"#cloud-config-jsonp": "text/cloud-config-jsonp",
"## template: jinja": "text/jinja2",
+ # Note: for the next 3 entries, the prefix doesn't matter because these
+ # are for types that can only be used as part of a MIME message. However,
+ # including these entries supresses warnings during `cloudinit devel
+ # make-mime`, which otherwise would require `--force`.
+ "text/x-shellscript-per-boot": "text/x-shellscript-per-boot",
+ "text/x-shellscript-per-instance": "text/x-shellscript-per-instance",
+ "text/x-shellscript-per-once": "text/x-shellscript-per-once",
}
# Sorted longest first