summaryrefslogtreecommitdiff
path: root/cloudinit/UserDataHandler.py
AgeCommit message (Collapse)Author
2011-01-19add cloud-config-archive input type.Scott Moser
cloud-config-archive is a yaml formated document where the top level should contain an array. Each entry in the array can be one of - dict { 'filename' : 'value' , 'content' : 'value', 'type' : 'value' } filename and type may not be present - scalar(content) if filename and type are not present, they are attempted to be guessed. LP: #641504
2011-01-19do not use 'str' as a variable nameScott Moser
2010-09-08remove broken (syntax) try/catch in UserDataHandler.pyScott Moser
2010-08-31get '##' comment lines through to /etc/apt/sources.list (LP: #627439)Scott Moser
LP: #627439
2010-07-01resort to "starts with" to find mime type only on plain/text (LP: #600799)Scott Moser
The starts-with determination of mime type was overriding an explicit setting in the mime-type. This was evident when the mime type specified boothook, but the content began with '#!'. In that case, the content would run as a user script rather than boothook. LP: #600799
2010-06-18add 'cloud-boothook' typeScott Moser
if user data is of type text/cloud-boothook, or begins with #cloud-boothook, then assume it to be code to be executed. Boothooks are a very simple format. Basically, its a one line header ('#cloud-config\n') and then executable payload. The executable payload is written to a file, then that file is executed at the time it is read. The file is left in /var/lib/cloud/data/boothooks There is no "first-time-only" protection. If running only once is desired, the boothook must handle that itself.
2010-06-15add vi modelines to python filesScott Moser
2010-02-04add copyright informationScott Moser
2010-02-03globally remove ec2init and rename to cloudinitScott Moser