Age | Commit message (Collapse) | Author | |
---|---|---|---|
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ță | |
2012-03-04 | Removed unused urllib2 import | Cosmin Luță | |
2012-03-04 | Refactored _get_default_gateway to get_default_gateway | Cosmin Luță | |
2012-03-04 | Importing only inet_ntoa from the socket module | Cosmin Luță | |
2012-03-04 | Removed the code that was used to wait for the metadata service since it | Cosmin Luță | |
seems CloudStack doesn't need that. | |||
2012-03-04 | Merge from main branch | Cosmin Luță | |
2012-03-01 | return public-keys as a list if it is a list | Scott Moser | |
if public-keys in metadata are a list (rather than a dict), then return them as such. This allows populating NoCloud keys with: public-keys: - ssh-rsa .... myname.mylabel - ssh-dsa .... myname.mylabel2 Or: cat <<EOF public-keys: $(ssh-add -L | sed 's,^\(.*\), - "\1",') EOF | |||
2012-02-28 | fix docstring for is_container | Scott Moser | |
2012-02-28 | DataSourceNoCloud: fix local cloud sources other than from devices | Scott Moser | |
The purely local non-device (vfat/iso9660) sources were broken by the last set of changes here. This restores them to functional. If the seed is from a device, then the default behavior is to be 'net' mode. For seed via cmdline, the user can specify 'ds=nocloud-net' and for seed via filesystem seed dir, they can just populate the other directory. To make it easier, when attaching a seed device, the user does not need to specify 'dsmode' of 'net' in the metadata file. They still can, but that is the default. It seems that that is more likely to be what is desired. LP: #942695 | |||
2012-02-28 | address change in name of lxc-is-container to running-in-container | Scott Moser | |
Also improves the logic in is_container following ubuntu's /etc/init/container-detect.conf . LP: #941955 | |||
2012-02-28 | Catch exceptions from part-handlers and log the error before continuing. | Scott Moser | |
This branch also adds tests for part-handler registration and part-handler handling. | |||
2012-02-24 | If we don't trust the default certs, don't add new certs from | Mike Milner | |
ca-certificates package upgrades. | |||
2012-02-21 | Cleanups. | Mike Milner | |
2012-02-21 | Lint fixes. | Mike Milner | |
2012-02-21 | Add test and fix for catching exceptions. | Mike Milner | |
2012-02-21 | Add tests for various frequencies. | Mike Milner | |
2012-02-21 | Added tests for adding handlers. | Mike Milner | |
2012-02-17 | ConfigDrive: better support public-keys in meta flags | Scott Moser | |
This makes the user able to pass in multi-line input to the public-key flag, and it will be handled correctly (just as if it came from the authorized_keys file) | |||
2012-02-17 | more documentation on configdrive | Scott Moser | |
2012-02-17 | add doc for configdrive | Scott Moser | |
2012-02-17 | cloud-init.py: exit success if no data sources found | Scott Moser | |
previously, cloud-init would exit failure if no data sources were found. In the case of cloud-init-local, that was often the case. In the case of cloud-init (net) it is a bit more likely that the user would consider it failure if nothing was found. Potentially this could even be user-configurable. | |||
2012-02-17 | support reading network interface config from DataSourceNoCloud | Scott Moser | |
document usage of DataSourceNoCloud from vfat or iso disk. | |||
2012-02-17 | DataSourceConfigDrive: update interfaces (and ifup) only on local | Scott Moser | |
Previously, the 'ifup --all' and update of /etc/network/interfaces was done only if the specified 'dsmode' (which defaults to 'pass') was either 'pass' or *this* dsmode. That meant that it would be updated once on DataSourceConfigDrive and on DataSourceConfigDriveNet. This changes that to only happen on local. | |||
2012-02-17 | DataSourceConfigDrive: change 'interfaces' to 'network-interfaces' | Scott Moser | |
Instead of a metadata entry named 'interfaces', use 'network-interfaces' which is a somewhat less likely namespace collision. | |||
2012-02-17 | fix pylint warnings | Scott Moser | |
2012-02-16 | update changelog | Scott Moser | |