immucore/pkg/mount/dag_live_media.go

15 lines
415 B
Go
Raw Normal View History

package mount
import (
"github.com/spectrocloud-labs/herd"
)
// RegisterLiveMedia registers the dag for booting from live media/netboot
// This sets the sentinel
func (s *State) RegisterLiveMedia(g *herd.Graph) error {
var err error
// Maybe LogIfErrorAndPanic ? If no sentinel, a lot of config files are not going to run
err = s.LogIfErrorAndReturn(s.WriteSentinelDagStep(g), "write sentinel")
return err
}