change version of ubuntu

This commit is contained in:
afeiszli
2021-10-19 15:53:01 -04:00
parent 8a2971bef6
commit fb4d2d1272
29 changed files with 497 additions and 1100 deletions

View File

@@ -26,6 +26,11 @@ func main() {
app.Usage = "Netmaker's netclient agent and CLI. Used to perform interactions with Netmaker server and set local WireGuard config."
app.Version = "v0.8.4"
hostname, err := os.Hostname()
if err != nil {
hostname = ""
}
cliFlags := []cli.Flag{
&cli.StringFlag{
Name: "network",
@@ -91,7 +96,7 @@ func main() {
&cli.StringFlag{
Name: "name",
EnvVars: []string{"NETCLIENT_NAME"},
Value: "",
Value: hostname,
Usage: "Identifiable name for machine within Netmaker network.",
},
&cli.StringFlag{