summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_seed_random.py
AgeCommit message (Collapse)Author
2016-05-12Fix up a ton of flake8 issuesJoshua Harlow
2016-03-07No longer run pollinate by default in seed_randomScott Moser
The user can still choose to run pollinate here to seed their random data. And in an environment with network datasource, that would be expected to work. However, we do not want to run it any more from cloud-init because a.) pollinate's own init system jobs should get it ran before ssh, which is the primary purpose of wanting cloud-init to run it. b.) with a local datasource, there is no network guarantee when init_modules run, so pollinate -q would often cause issues then. c.) cloud-init would run pollinate and log the failure causing many cloud-init specific failures that it could do nothing about. LP: #1554152
2015-02-11fix random_seed moduleScott Moser
2015-01-27Respond to review:Barry Warsaw
- Refactor both the base64 encoding and decoding into utility functions. Also: - Mechanically fix some other broken untested code.
2015-01-26Another handling of b64decode.Barry Warsaw
Also, restore Python 2 compatibility.
2015-01-21Largely merge lp:~harlowja/cloud-init/py2-3 albeit manually because it seemedBarry Warsaw
to be behind trunk. `tox -e py27` passes full test suite. Now to work on replacing mocker.
2014-03-03allow random command's output to go throughScott Moser
by default we call 'pollinate -q' which is nice and quiet. if the user wants to be noisy, let them.
2014-03-03cc_seed_random: fix bug and support pollinate commandScott Moser
there was a bug that prevented seeding of /dev/urandom from metadata provided by the datasource unless the user provided random_seed config. This should, instead, be the default behavior.
2013-09-08Add test + remove jsonschema (for now)Joshua Harlow
2013-09-06Ensure validate checks key existence.Joshua Harlow
2013-09-06Add jsonschema for namespaced and verifiable moduleJoshua Harlow
configuration checking as well as make most of the module logic happen in the module itself instead of interacting with the distro object.
2013-09-03Review adjustments.Joshua Harlow