mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-04 16:33:49 +08:00
Merge branch 'bugfix_v0.2_portconflicts' of https://github.com/gravitl/netmaker into bugfix_v0.2_portconflicts
This commit is contained in:
@@ -73,9 +73,7 @@ func GetFreePort(rangestart int32) (int32, error){
|
||||
return portno, err
|
||||
}
|
||||
|
||||
|
||||
func Install(accesskey string, password string, server string, group string, noauto bool, accesstoken string) error {
|
||||
|
||||
func Install(accesskey string, password string, server string, group string, noauto bool, accesstoken string, inputname string) error {
|
||||
|
||||
tserver := ""
|
||||
tnetwork := ""
|
||||
@@ -234,6 +232,9 @@ func Install(accesskey string, password string, server string, group string, noa
|
||||
if nodecfg.Name != "" {
|
||||
name = nodecfg.Name
|
||||
}
|
||||
if inputname != "" && inputname != "noname" {
|
||||
name = inputname
|
||||
}
|
||||
fmt.Println(" Name: " + name)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user