File: seed_random_command.yaml

package info (click to toggle)
cloud-init 20.2-2~deb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,276 kB
  • sloc: python: 69,663; sh: 3,915; makefile: 105; xml: 21
file content (18 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Use uuid to create a random string
#
# 2016-11-15 Disabled as this is not working currently
#
enabled: False
cloud_config: |
  #cloud-config
  random_seed:
    command: ["cat", "/proc/sys/kernel/random/uuid"]
    command_required: true
    file: /root/seed
collect_scripts:
  seed_data: |
    #!/bin/bash
    cat /root/seed

# vi: ts=4 expandtab