mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
feat: automatically generate a unique 'default-N' context name for new cluster (fixes #113)
This commit is contained in:
@@ -89,7 +89,7 @@ func NewInitCommand() *cobra.Command {
|
||||
"Version of the Uncloud daemon to install on the machine.",
|
||||
)
|
||||
cmd.Flags().StringVarP(
|
||||
&opts.context, "context", "c", "default",
|
||||
&opts.context, "context", "c", cli.DefaultContextName,
|
||||
"Name of the created context for the initialised cluster in the Uncloud config.",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user