mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-20 23:36:18 +08:00
update of extclient name
regenerate wg keys
This commit is contained in:
parent
d41a1051fd
commit
60e340cf1b
|
@ -196,6 +196,7 @@ func UpdateExtClient(newclientid string, network string, enabled bool, client *m
|
|||
}
|
||||
client.ClientID = newclientid
|
||||
client.Enabled = enabled
|
||||
client.PublicKey = ""
|
||||
SetClientACLs(client, newACLs)
|
||||
if err = CreateExtClient(client); err != nil {
|
||||
return client, err
|
||||
|
|
Loading…
Reference in a new issue