From 8e60f52bca906880dff375a35738802c3c882d67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20T=C3=BCrkmen?= Date: Tue, 15 Dec 2020 20:38:47 +0100 Subject: [PATCH] fix templates path for netman --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index a474ee9..4139e04 100644 --- a/main.go +++ b/main.go @@ -59,7 +59,7 @@ func execUp(iname string) error { func createInterfacesSetting(interfaces Interfaces) string { var tpl bytes.Buffer - tmpl := template.Must(template.ParseFiles("/home/vagrant/netman/netman/interfaces.tmpl")) + tmpl := template.Must(template.ParseFiles("/home/vagrant/netman/interfaces.tmpl")) tmpl.Execute(&tpl, interfaces) return tpl.String() }