Added DHCPD and hostfile plugins

This commit is contained in:
David Allen 2024-06-26 10:19:19 -06:00
parent f443558b50
commit a7d78e8240
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
3 changed files with 86 additions and 0 deletions

View file

@ -0,0 +1,20 @@
package main
import (
"fmt"
configurator "github.com/OpenCHAMI/configurator/internal"
"github.com/OpenCHAMI/configurator/internal/util"
)
type Hostfile struct{}
func (g *Hostfile) GetName() string {
return "hostfile"
}
func (g *Hostfile) Generate(config *configurator.Config, opts ...util.Option) (map[string][]byte, error) {
return nil, fmt.Errorf("plugin does not implement generation function")
}
var Generator Hostfile

View file

@ -0,0 +1 @@
package main