You've already forked step-ca-cli
mirror of
https://github.com/smallstep/cli.git
synced 2025-08-09 03:22:43 +03:00
ssh/certificate: Generate a random UUID by default
Apparently some images don't properly handle the machine-id and it ends up not being unique. By default play it safe and generate our own UUID. Deriving a UUID from `/etc/machine-id` is still supported. To trigger that behavior, pass 'machine' as the `--host-id` flag.
This commit is contained in:
@@ -114,8 +114,9 @@ var (
|
||||
}
|
||||
|
||||
sshHostIDFlag = cli.StringFlag{
|
||||
Name: "host-id",
|
||||
Usage: `Specify a <UUID> to identify the host rather than using an auto-generated UUID derived from the machine-id.`,
|
||||
Name: "host-id",
|
||||
Usage: `Specify a <UUID> to identify the host rather than using an auto-generated UUID.
|
||||
If "machine" is passed, derive a UUID from "/etc/machine-id."`,
|
||||
}
|
||||
|
||||
sshSignFlag = cli.BoolFlag{
|
||||
|
Reference in New Issue
Block a user