mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-27 11:33:33 +00:00
remove the concept of cluster user (at least the current implementation)
This commit is contained in:
@@ -10,10 +10,8 @@ import (
|
||||
)
|
||||
|
||||
type initOptions struct {
|
||||
name string
|
||||
network string
|
||||
userPublicKey string
|
||||
|
||||
name string
|
||||
network string
|
||||
sshKey string
|
||||
cluster string
|
||||
}
|
||||
@@ -54,9 +52,6 @@ func NewInitCommand() *cobra.Command {
|
||||
&opts.network, "network", network.DefaultNetwork.String(),
|
||||
"IPv4 network CIDR to use for machines and services",
|
||||
)
|
||||
//cmd.Flags().StringVar(&opts.userPublicKey, "user-pubkey", "",
|
||||
// "User's public key which will be able to access the cluster (hex-encoded)")
|
||||
|
||||
cmd.Flags().StringVarP(
|
||||
&opts.sshKey, "ssh-key", "i", "",
|
||||
"path to SSH private key for SSH remote login (default ~/.ssh/id_*)",
|
||||
|
||||
Reference in New Issue
Block a user