mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-13 08:34:44 +08:00
rebased off develop
This commit is contained in:
parent
93a25bb9a6
commit
14cebf56a0
1 changed files with 3 additions and 0 deletions
|
@ -189,6 +189,9 @@ func JoinNetwork(cfg *config.ClientConfig, privateKey string) error {
|
||||||
if err := Register(cfg, privateKey); err != nil {
|
if err := Register(cfg, privateKey); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_ = UpdateLocalListenPort(cfg)
|
||||||
|
|
||||||
if cfg.Daemon != "off" {
|
if cfg.Daemon != "off" {
|
||||||
err = daemon.InstallDaemon(cfg)
|
err = daemon.InstallDaemon(cfg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue