mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-27 11:33:33 +00:00
generate user key for new cluster and add it to peers on bootstrap machine
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
package config
|
||||
|
||||
import "uncloud/internal/secret"
|
||||
|
||||
type MachineConnection struct {
|
||||
User string `toml:"user,omitempty"`
|
||||
Host string `toml:"host"`
|
||||
Port int `toml:"port"`
|
||||
SSHKey string `toml:"ssh_key,omitempty"`
|
||||
User string `toml:"user,omitempty"`
|
||||
Host string `toml:"host"`
|
||||
Port int `toml:"port"`
|
||||
SSHKey string `toml:"ssh_key,omitempty"`
|
||||
PublicKey secret.Secret `toml:"public_key,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user