mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
remove the concept of cluster user (at least the current implementation)
This commit is contained in:
1 parent
4ec87db8e8
commit
b688742e5a
5 files changed
+59
-107
No files matched your search
@@ -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