Skip to content

Commit

Permalink
fix templates path for netman
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtrkmn authored Dec 15, 2020
1 parent 7d71d58 commit 8e60f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 8e60f52

Please sign in to comment.