← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1974062] Re: NoCloud instance-id's never change

 

[Expired for cloud-init because there has been no activity for 60 days.]

** Changed in: cloud-init
       Status: Incomplete => 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/1974062

Title:
  NoCloud instance-id's never change

Status in cloud-init:
  Expired

Bug description:
  By default, the NoCloud datasource reports 'nocloud' as the instance-
  id.

  While this can be changed in meta-data, the contents of the file are
  often static.

  In particular, GNS3 appliances clone their disks from a master
  template.

  The result is that all GNS3 virtual machines cloned from a single
  appliance get the same instance-id.  In particular, the network
  doesn't get reconfigured correctly when a new instance boots.

  I suggest adding the ability to obtain the system's UUID, as reported
  by dmi-decode -s system-uuid, in a Jinja template that can be used in
  meta-data, like this:

  #cloud-config
  instance-id: {{system-uuid}}

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



References