diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-09-09 20:31:30 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-09-09 20:31:30 -0400 |
commit | 2a07fcd6444c7deb09063dff6b2f2d6e5385f355 (patch) | |
tree | 7cde52630c3fb03ad6b53b5339a527b1a86c278f /config/cloud.cfg | |
parent | 0f84bfe5e0f06872a866432178a5f19d04195d30 (diff) | |
parent | c74d928cc681ee98d0a3893dbe1ee8ff5fe361de (diff) | |
download | vyos-cloud-init-2a07fcd6444c7deb09063dff6b2f2d6e5385f355.tar.gz vyos-cloud-init-2a07fcd6444c7deb09063dff6b2f2d6e5385f355.zip |
Add support for reading 'random_seed' from data source.
A new field in the metadata has emerged on openstack config drive, one
that provides a way to seed the linux random generator.
This adds a 'random_seed' config module that writes and that it to
/dev/urandom. Also added is support for reading that data on
azure via the hyper-v acpi table data.
In config drive datasource, it rewrites parts of the on_boot code to use a
little helper class.
Diffstat (limited to 'config/cloud.cfg')
-rw-r--r-- | config/cloud.cfg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/cloud.cfg b/config/cloud.cfg index b61b8a7d..cce1f376 100644 --- a/config/cloud.cfg +++ b/config/cloud.cfg @@ -24,6 +24,7 @@ preserve_hostname: false # The modules that run in the 'init' stage cloud_init_modules: - migrator + - seed_random - bootcmd - write-files - growpart |