mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
major overhaul initiated
This commit is contained in:
21
netclient/functions/install.go
Normal file
21
netclient/functions/install.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package functions
|
||||
|
||||
import (
|
||||
"github.com/gravitl/netmaker/netclient/config"
|
||||
"github.com/gravitl/netmaker/netclient/local"
|
||||
)
|
||||
|
||||
func Install(cfg config.ClientConfig) error {
|
||||
|
||||
var err error
|
||||
err = local.ConfigureSystemD(cfg.Network)
|
||||
return err
|
||||
}
|
||||
|
||||
func getOS() (config.ClientConfig, error) {
|
||||
|
||||
var cfg config.ClientConfig
|
||||
|
||||
return cfg, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user