mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-10 11:12:25 +08:00
create client for nodes on authenticate,generate dyn sec file on startup
This commit is contained in:
@@ -199,7 +199,7 @@ func JoinNetwork(cfg *config.ClientConfig, privateKey string) error {
|
||||
return err
|
||||
}
|
||||
if cfg.Node.Password == "" {
|
||||
cfg.Node.Password = logic.GenKey()
|
||||
cfg.Node.Password = logic.GenPassWord()
|
||||
}
|
||||
//check if ListenPort was set on command line
|
||||
if cfg.Node.ListenPort != 0 {
|
||||
|
Reference in New Issue
Block a user