summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-04initial checkin of kernel commandline cloud-config url supportScott Moser
2012-04-04Provide informative message when user logs in with unsupported localeScott Moser
On the users's first login with a locale that is not supported (where 'locale' would give errors), inform the user on how they can generate the locales or install language support packages. LP: #859814
2012-04-04minor cleanup to messages, combine commands to single lineScott Moser
* remove unused 'line' variable * fix bug where multiple errant locales were not working correctly * only output each bad locale once in the list * you only need to run the apt-get install of the package *or* localegen
2012-04-04Only show this message one time.Scott Moser
2012-04-04move Z99-cloud-locale-test.sh out of profile.d to toolsScott Moser
Just to avoid an entry in top level directory, get rid of profile.d there and instead move Z99-cloud-locale-test.sh -> tools/Z99-cloud-locale-test.sh
2012-04-02Fixed deficiency in merge proposal.Ben Howard
2012-03-30Added a profile.d message to inform people about invalid locale setting.Ben Howard
2012-03-26cc_chef: fix bug when validation_key was present, but validation_cert was notScott 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-21fix bad variable if blocking cc_resizefsScott Moser
2012-03-21allow cloud-config to control if resizefs is blocking or notScott Moser
2012-03-21cc_resizefs: run resizefs in the background during boot.Scott Moser
LP: #961226
2012-03-19DataSource: if public-keys is a string, split it on newlineScott 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-16add supprot for reading public-keys from DataSourcMAASScott Moser
2012-03-16rename DataSourceMaaS to DataSourceMAAS, generally use MAAS everywhereScott Moser
instead of MaaS or Maas, use MAAS consistently. The only non 'MAAS' left are all lower case.
2012-03-16fix pylint warnings in test_userdataScott Moser
2012-03-13add python-oauth to dependencies [Cosmin Luță]Scott Moser
LP: #953915
2012-03-12Warn in user-data processing on non-multipart, non-handled dataScott 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-12wrap Changelog to < 80 charsScott Moser
2012-03-12fix pylint/pep8 issues in DataSourceCloudStackScott Moser
2012-03-12import CloudStack data source [Cosmin Luta]Scott Moser
2012-03-12cloudinit/DataSourceCloudStack: updated copyright and authorScott 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-12Restrict warning to userdata without MIME wrapping only while still ignoring ↵Martin Packman
most types
2012-03-09Renamed data source to CloudStackCosmin Luță
2012-03-09fix copyright and author on cloudinit/DataSourceMaaS.pyScott Moser
2012-03-09If the user has chosen to remove default ca-certs, prevent package upgrade Scott Moser
of ca-certificates from adding new trusted certs.
2012-03-09fix spelling error in apt pipeline filenameScott Moser
2012-03-09add option apt_pipelining to cloud-config to address s3 mirrors (LP: #948461)Scott Moser
Thanks to Ben Howard.
2012-03-09mention bug number in cloud-config.txtScott Moser
2012-03-09Some 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-08Simplified proposed patchBen 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-08DataSourceMaaS: some fixes found in testingScott Moser
2012-03-08Add DataSourceMaaS, a Data Source for Ubuntu Machine as a ServiceScott Moser
LP: #942061
2012-03-08doc fixesScott Moser
2012-03-08pep8 and pylintScott Moser
2012-03-08add a test for read_maas_seed_urlScott Moser
2012-03-08remove debug statementScott Moser
2012-03-08Put a warning in the log when userdata parts are not handledMartin Packman
2012-03-08Add tests for writing of userdata parts to the filesystemMartin Packman
2012-03-08add MaaS datasource to default searchedScott Moser
2012-03-08fix tests for 'hostname' to 'local-hostname' and user-data not requiredScott Moser
2012-03-08remove debug statementScott Moser
2012-03-08better 'main()', add and use version in api, do not require user-dataScott 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-08Switch to using util.subp.Mike Milner
2012-03-07Added ability of cloud-init to manage apt http pipeliningBen Howard
- cloud-config option of "apt-pipelining" - Address LP: 948461
2012-03-07pylint/pep8 cleanupScott Moser
2012-03-07DataSourceMaaS: add test code for the oauth pathScott Moser
This adds to the 'main' in cloudinit/DataSourceMaaS.py a method for testing oauth_headers.
2012-03-07fix pylint and pep8 warningsScott Moser
2012-03-06no need to check explicitly for user-dataScott Moser
2012-03-06file for user-data should be 'user-data' (including the '-')Scott Moser
2012-03-06functional read_maas_seed_urlScott 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}.