Skip to content

Commit

Permalink
Remove unused function generateScripts
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
  • Loading branch information
uncleDecart committed Nov 14, 2023
1 parent 133d7ff commit 00d4d84
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions pkg/openevec/eden.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,6 @@ import (
"golang.org/x/term"
)

func generateScripts(in string, out string, configFile string) error {
tmpl, err := os.ReadFile(in)
if err != nil {
return err
}
script, err := utils.RenderTemplate(configFile, string(tmpl))
if err != nil {
return err
}
err = os.WriteFile(out, []byte(script), 0644)
if err != nil {
return err
}
return nil
}

func (openEVEC *OpenEVEC) SetupEden(configName, configDir, softSerial, zedControlURL, ipxeOverride string, grubOptions []string, netboot, installer bool) error {

cfg := *openEVEC.cfg
Expand Down

0 comments on commit 00d4d84

Please sign in to comment.