netmaker/netclient/functions/install.go

22 lines
361 B
Go
Raw Normal View History

2021-05-26 00:48:04 +08:00
package functions
import (
"github.com/gravitl/netmaker/netclient/config"
"github.com/gravitl/netmaker/netclient/local"
)
2021-06-02 00:23:05 +08:00
func InstallDaemon(cfg config.ClientConfig) error {
2021-05-26 00:48:04 +08:00
var err error
err = local.ConfigureSystemD(cfg.Network)
return err
}
func getOS() (config.ClientConfig, error) {
var cfg config.ClientConfig
return cfg, nil
}