Commit graph

3 commits

Author SHA1 Message Date
John Sahhar a27cabc744 main: Add flag (-c) for configuration path
Adds an optional flag (-c) to the netmaker binary
for passing in an absolute path to a netmaker config
file.

Example:

	netmaker -c /etc/default/netmaker-server.yaml

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-22 15:22:38 -06:00
john s eb974dbd63
config/config_test: add test (#882)
* Adds a test for parsing the dev.yaml config included in the repository
* Changes readConfig() to return an error in addition to the envrionment
  config

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-18 14:06:48 -05:00
Matthew R Kasun 49f6a6f308 fixed network tests 2021-09-06 15:30:39 -04:00