diff options
author | Scott Moser <smoser@ubuntu.com> | 2010-01-26 16:49:50 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2010-01-26 16:49:50 -0500 |
commit | 5b70be886062c3916a6635b391806a2077578fef (patch) | |
tree | 6baf3edd4283567487d23f2b57beec4ff1ac457c /ec2init | |
parent | 63ba097865e1d038d82a7fa1d6efd282784677f5 (diff) | |
download | vyos-cloud-init-5b70be886062c3916a6635b391806a2077578fef.tar.gz vyos-cloud-init-5b70be886062c3916a6635b391806a2077578fef.zip |
add 'starts_with' mapping for upstart-job
Diffstat (limited to 'ec2init')
-rw-r--r-- | ec2init/UserDataHandler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ec2init/UserDataHandler.py b/ec2init/UserDataHandler.py index 0ab1bbec..1066ce15 100644 --- a/ec2init/UserDataHandler.py +++ b/ec2init/UserDataHandler.py @@ -7,7 +7,8 @@ from email.mime.text import MIMEText starts_with_mappings={ '#include' : 'text/x-include-url', '#!' : 'text/x-shellscript', - '#cloud-config' : 'text/cloud-config' + '#cloud-config' : 'text/cloud-config', + '#upstart-job' : 'text/upstart-job' } # if 'str' is compressed return decompressed otherwise return it |