mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-23 17:03:17 +08:00
removing UUID gen from client side
This commit is contained in:
@@ -10,7 +10,6 @@ import (
|
||||
"os/exec"
|
||||
"runtime"
|
||||
|
||||
"github.com/google/uuid"
|
||||
nodepb "github.com/gravitl/netmaker/grpc"
|
||||
"github.com/gravitl/netmaker/models"
|
||||
"github.com/gravitl/netmaker/netclient/auth"
|
||||
@@ -104,10 +103,6 @@ func JoinNetwork(cfg config.ClientConfig, privateKey string) error {
|
||||
}
|
||||
}
|
||||
|
||||
if cfg.Node.ID == "" {
|
||||
cfg.Node.ID = uuid.NewString()
|
||||
}
|
||||
|
||||
if ncutils.IsLinux() {
|
||||
_, err := exec.LookPath("resolvconf")
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user