~harlowja/cloud-init/local-before-net

Viewing all changes in revision 963.

  • Committer: Scott Moser
  • Author(s): Dustin Kirkland
  • Date: 2014-03-03 21:44:31 UTC
  • Revision ID: smoser@ubuntu.com-20140303214431-494bqb0xlhp3xai1
seed_random: support a 'command' to seed /dev/random

This extends 'random_seed' top level entry to include a 'command'
entry, that has the opportunity to then seed the random number generator.

Example config:
 #cloud-config
 random_seed:
   command: ['dd', 'if=/dev/zero', 'of=/dev/random', 'bs=1M', 'count=10']

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: