Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-16 | fix pylint warnings in test_userdata | Scott Moser | |
2012-03-13 | add python-oauth to dependencies [Cosmin Luță] | Scott Moser | |
LP: #953915 | |||
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 | wrap Changelog to < 80 chars | Scott Moser | |
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. | |||
2012-03-09 | mention bug number in cloud-config.txt | Scott Moser | |
2012-03-09 | Some cleanups before merge. | Scott Moser | |
* removed the 'CLOUD-INIT-IGNORE' section, as we're just blindly writing the file now. removed the now-unnecessary import of 're' and 'os' * removed try/except block around write_apt_snippet. This will bubble up and cloud-init will let it through even to the console. Catching it and turning it into a debug would just hide it. * removed 'default' as a synonym for 'whatever cloud-init thinks is best' If people are going to change this, I'd rather they be specific. * supported value of "0" * fixed some complaints from ./tools/run-pylint cloudinit/CloudConfig/cc_apt_pipelining.py | |||
2012-03-08 | Simplified proposed patch | Ben Howard | |
- Changed values to be more simplistic and intuitive - Only allow pipelining values up to 5 - Changed to per_instance over per_always to remove need for tracking the values - Fixed Python style | |||
2012-03-08 | DataSourceMaaS: some fixes found in testing | Scott Moser | |
2012-03-08 | Add DataSourceMaaS, a Data Source for Ubuntu Machine as a Service | Scott Moser | |
LP: #942061 | |||
2012-03-08 | doc fixes | Scott Moser | |
2012-03-08 | pep8 and pylint | Scott Moser | |
2012-03-08 | add a test for read_maas_seed_url | Scott Moser | |
2012-03-08 | remove debug statement | Scott Moser | |
2012-03-08 | Put a warning in the log when userdata parts are not handled | Martin Packman | |
2012-03-08 | Add tests for writing of userdata parts to the filesystem | Martin Packman | |
2012-03-08 | add MaaS datasource to default searched | Scott Moser | |
2012-03-08 | fix tests for 'hostname' to 'local-hostname' and user-data not required | Scott Moser | |
2012-03-08 | remove debug statement | Scott Moser | |
2012-03-08 | better 'main()', add and use version in api, do not require user-data | Scott Moser | |
main now is more useful for debugging. now it does: * get: just dump contents of a url provided after oauth * crawl: walk through using indexes, dumping content * check-seed: validate the seed is good uses MD_VERSION in the url, and appends that to the metadata url in the config file. (previously it assumed the url in the config was the full url) does not require user-data in the http seed. if the user did not specify user-data, it wont be there, so do not fail on that case. | |||
2012-03-08 | Switch to using util.subp. | Mike Milner | |
2012-03-07 | Added ability of cloud-init to manage apt http pipelining | Ben Howard | |
- cloud-config option of "apt-pipelining" - Address LP: 948461 | |||
2012-03-07 | pylint/pep8 cleanup | Scott Moser | |
2012-03-07 | DataSourceMaaS: add test code for the oauth path | Scott Moser | |
This adds to the 'main' in cloudinit/DataSourceMaaS.py a method for testing oauth_headers. | |||
2012-03-07 | fix pylint and pep8 warnings | Scott Moser | |
2012-03-06 | no need to check explicitly for user-data | Scott Moser | |
2012-03-06 | file for user-data should be 'user-data' (including the '-') | Scott Moser | |
2012-03-06 | functional read_maas_seed_url | Scott Moser | |
This commits a generally functional read_maas_seed_url, and re-works how the content is checked, to share between read_maas_seed{url,dir}. | |||
2012-03-06 | add headers_cb to doc for wait_for_url | Scott Moser | |
2012-03-06 | assert that userdata is not returned as part of metadata | Scott Moser | |
2012-03-06 | move wait_for_metadata_service for util, rename to wait_for_url | Scott Moser | |
Also, add in the headers_cb which will be required for oauth. | |||
2012-03-06 | Add initial DataSourceMaaS. | Scott Moser | |
Tests at this point seem to indicate that seed-dir would work. | |||
2012-03-06 | add tests to run-pylint files | Scott Moser | |
2012-03-06 | tests/unittests/test_util.py: fix pylint error | Scott Moser | |
2012-03-05 | use builtin runparts rather than system run-parts utility | Scott Moser | |
Because Fedora's run-parts does not accept '--regex' and debian's run-parts skips files with a '.' in the *without* '--regex=.*', we're forced to include our own version of run-parts. LP: #933553 | |||
2012-03-05 | commit initial config information for maas datasource | Scott Moser | |
2012-03-04 | Pushing local commits | Cosmin Luță | |