Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-06-08 | Remove is ipv4 function from here and move to utils + move exceptions to ↵ | Joshua Harlow | |
here as well as other find datasource function. | |||
2012-06-08 | Remove cloud config from here and move to cloud.py | Joshua Harlow | |
2012-06-08 | This file now holds the default part handlers (shell script, cloud-config, ↵ | Joshua Harlow | |
upstart-jobs, boot-hook) as classes as well as some utility methods to fixup imported modules (ensuring they have the right members/properties) and moving the walking handler callbacks and other part running functionality here. | |||
2012-06-08 | Moved some of the mounting logic here. Also introduced a context manager ↵ | Joshua Harlow | |
which will help unmount. | |||
2012-06-08 | Moved the shell functionality back in here. | Joshua Harlow | |
2012-06-08 | Large amounts of refactoring. | Joshua Harlow | |
Now there exists a class which processes the user data down to a mime message and just some small utility methods to walk and determine types. Large amount of content type cleanups & constant creation. | |||
2012-06-08 | Cleaning this up, logic should be more sound around attempts and retries now. | Joshua Harlow | |
2012-06-08 | Ensure files end with ".tmpl" if they don't initially. | Joshua Harlow | |
2012-06-08 | Working on making this have the old setup (where strings are taken in for ↵ | Joshua Harlow | |
config) as well as file names (for those that have files). | |||
2012-06-08 | This now holds the following classes: | Joshua Harlow | |
CloudInit - cut up to only provide some basic init processes CloudPartData - provided to handlers so that they can fetch needed data without providing the whole enchilda of cloud init. CloudPaths - holds the paths that should be used, for instances, for non-instances and such. CloudSemaphores - holds the concept of cloud inits sempaphores, but cleaned up, using context manager to help here. CloudHandlers - holds the user data handlers to be activated CloudConfig - the cloud config object (to be cleaned up) | |||
2012-06-08 | This now only holds some simple top level functions. | Joshua Harlow | |
TODO: maybe just move them to utils? | |||
2012-06-08 | Renamed this, since its more of settings, not all constants. | Joshua Harlow | |
2012-06-08 | Putting back into utils for now (until that gets to big). | Joshua Harlow | |
2012-06-08 | Seems like the util function extraction was not actually needed. | Joshua Harlow | |
2012-06-08 | Moved this to a file called parts which handles this type of functionality. | Joshua Harlow | |
2012-06-08 | Moving exceptions to modules where they are used. Seems to make sense. | Joshua Harlow | |
2012-06-07 | Add a standard exception holding file. | Joshua Harlow | |
2012-06-07 | Add in a utility class that will handle all shell-like actions. | Joshua Harlow | |
2012-06-07 | Add this file which will contain the cloud init and cloud config classes. | Joshua Harlow | |
2012-06-07 | Start moving code from there to here. | Joshua Harlow | |
2012-06-07 | Move the contents of this file to __init__ in sources. | Joshua Harlow | |
2012-06-07 | 1. Move cloud init and cloud config objects to a cloud file. | Joshua Harlow | |
2. Cleanup main __init__ file with shell additions, constants usage, os.path usage. | |||
2012-06-07 | Add a file that just deals with url like functions | Joshua Harlow | |
2012-06-07 | Add a file that just deals with handling modules and part data | Joshua Harlow | |
2012-06-07 | Darn it. Those shouldn't be there! | Joshua Harlow | |
2012-06-07 | 1. Adding some new helper files that split off file inclusion, templating, ↵ | Joshua Harlow | |
importing, constant usage. 1. Move all datasources to a new sources directory 1. Rename some files to be more consistent with python file/module naming. | |||
2012-05-22 | remove usage of subprocess.check_output | Scott Moser | |
in order to work on python 2.6, replace usage of check_output with util.subp. | |||
2012-05-22 | support relative path in AuthorizedKeysFile | Scott Moser | |
LP: #970071 | |||
2012-04-10 | cc_landscape.py: if /etc/landscape does not exist, then create it | Scott Moser | |
LP: #978329 | |||
2012-04-05 | move the reading of the cmdline cloud-config url to cloud-init.py | Scott Moser | |
The reason for moving this from cloudinit/__init__.py was that it was running too late there. The cloudinit.parsed_cfgs variable was already filled by cloud-init.py's reading of cloud config. I'm sure I had done this so that it would not have to re-parse configs. I think the right way to handle this is to move that logic back to cloudinit/__init__.py and add some function like 'reread_configs()' that would re-read all releavent cofnigs and re-setup logging. That seemed more error prone at the moment, with limited time. | |||
2012-04-04 | fix issue found in real test | Scott Moser | |
2012-04-04 | add reading of 'seedfrom' via DataSourceNoCloud's DataSourceConfig | Scott Moser | |
What this does is provide an second DataSource that could use the kernel command line url=. For example: ro root=/dev/vda url=http://example.com/i-abcdefg/ http://example.com/i-abcdefg/ would contain: datasource: NoCloud: # default seedfrom is None # if found, then it should contain a url with: # <url>/user-data and <url>/meta-data # seedfrom: http://my.example.com/i-abcde seedfrom: http://example.com/i-abcdefg/ Then, the NoCloudNet DataSource would find that seedfrom config and consume data at http://example.com/i-abcdefg/user-data and http://example.com/i-abcdefg/meta-data | |||
2012-04-04 | initial checkin of kernel commandline cloud-config url support | Scott Moser | |
2012-03-26 | cc_chef: fix bug when validation_key was present, but validation_cert was not | Scott Moser | |
This fixes a bug in chef handling if the config contained the 'validation_key' key, but not the 'validation_cert' key. LP: #960547 | |||
2012-03-21 | fix bad variable if blocking cc_resizefs | Scott Moser | |
2012-03-21 | allow cloud-config to control if resizefs is blocking or not | Scott Moser | |
2012-03-21 | cc_resizefs: run resizefs in the background during boot. | Scott Moser | |
LP: #961226 | |||
2012-03-19 | DataSource: if public-keys is a string, split it on newline | Scott Moser | |
Previously, we were returning an array with a single item, which could have contained newlines in it. This does limit the potential content of a ssh public key, but it seems unlikely that in the future a valid public key would contain a newline. | |||
2012-03-16 | add supprot for reading public-keys from DataSourcMAAS | Scott Moser | |
2012-03-16 | rename DataSourceMaaS to DataSourceMAAS, generally use MAAS everywhere | Scott Moser | |
instead of MaaS or Maas, use MAAS consistently. The only non 'MAAS' left are all lower case. | |||
2012-03-12 | Warn in user-data processing on non-multipart, non-handled data | Scott Moser | |
If user-data is supplied that is not multipart, and is unhandled, then log a warning. A warning by default will get to the console, so the user can see it even if they cannot get into the instance. If they don't see it there, it would still be available in the cloud-init log. | |||
2012-03-12 | fix pylint/pep8 issues in DataSourceCloudStack | Scott Moser | |
2012-03-12 | import CloudStack data source [Cosmin Luta] | Scott Moser | |
2012-03-12 | cloudinit/DataSourceCloudStack: updated copyright and author | Scott Moser | |
Per Cosmin in personal mail: > I didn't change any of the copyright/license information, as I'm not > sure what should be there (feel free to adjust it as you please, I don't > even care for my name to appear in the file). I've added Canonical to copyright (as the file was originally copied and modified from the DataSourceEc2). And also added Cosmin's name to Authors and Copyright for the portions that he contributed. | |||
2012-03-12 | Restrict warning to userdata without MIME wrapping only while still ignoring ↵ | Martin Packman | |
most types | |||
2012-03-09 | Renamed data source to CloudStack | Cosmin Luță | |
2012-03-09 | fix copyright and author on cloudinit/DataSourceMaaS.py | Scott Moser | |
2012-03-09 | If the user has chosen to remove default ca-certs, prevent package upgrade | Scott Moser | |
of ca-certificates from adding new trusted certs. | |||
2012-03-09 | fix spelling error in apt pipeline filename | Scott Moser | |
2012-03-09 | add option apt_pipelining to cloud-config to address s3 mirrors (LP: #948461) | Scott Moser | |
Thanks to Ben Howard. |