mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 21:29:02 +00:00
feat: automatically generate a unique 'default-N' context name for new cluster (fixes #113)
This commit is contained in:
1 parent
ec2787c99c
commit
d25864e52f
2 files changed
+31
-8
No files matched your search
@@ -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