coreos / updateservicectl

CoreUpdate Command Line Interface
https://coreos.com/products/coreupdate/
Apache License 2.0
48 stars 41 forks source link

instance: generate valid uuid for machine-id #127

Closed sdemos closed 6 years ago

sdemos commented 6 years ago

adding a prefix to the uuid that was being passed as a machine-id in the fake client requests caused coreupdate to fail when it tried to parse them as uuids. the solution is to pass it a valid uuid that still fulfills the original objective of the prefix, namely to make fake clients easy to pick out.

fixes #126