← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1643043] Re: random seed command output not captured

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/2765

** Bug watch added: github.com/canonical/cloud-init/issues #2765
   https://github.com/canonical/cloud-init/issues/2765

** Changed in: cloud-init
       Status: Confirmed => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1643043

Title:
  random seed command output not captured

Status in cloud-init:
  Expired

Bug description:
  [description]
  While using a 16.04 (Xenial) lxd cloud image, trying to create random seed data with a command does not get put into a specified file.

  [cloud-config]
  #cloud-config
  random_seed:
    command: ["cat", "/proc/sys/kernel/random/uuid"]
    command_required: true
    file: /root/seed

  [steps to reproduce]
  Image used: b9cba741ef62 ubuntu 16.04 LTS amd64 (release) (20161115)
  cloud-init: 0.7.8-1-g3705bb5-0ubuntu1~16.04.3

  lxc init ubuntu:xenial/amd64 xenial
  lxc config set xenial user.user-data - < cloud-config.yaml
  lxc start xenial

  [actual result]
  There is no file called /root/seed and no error messages even though the command is marked as required.

  [expected result]
  I would have expected the file /root/seed to exist with a uuid in it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1643043/+subscriptions



References