MCPcopy Create free account
hub / github.com/danderson/netboot / netbootRecipe

Function netbootRecipe

pixiecore/cli/quickcmd.go:298–312  ·  view source on GitHub ↗
(parent *cobra.Command)

Source from the content-addressed store, hash-verified

296}
297
298func netbootRecipe(parent *cobra.Command) {
299 var netbootCmd = &cobra.Command{
300 Use: "xyz",
301 Short: "Boot a netboot.xyz installer",
302 Long: `https://network.xyz allows to boot multiple operating
303 systems and useful system utilities.`,
304 Run: func(cmd *cobra.Command, args []string) {
305 kernel := "https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn"
306 fmt.Println(staticFromFlags(cmd, kernel, []string{}, "").Serve())
307 },
308 }
309 serverConfigFlags(netbootCmd)
310 staticConfigFlags(netbootCmd)
311 parent.AddCommand(netbootCmd)
312}
313
314func archRecipe(parent *cobra.Command) {
315 archCmd := &cobra.Command{

Callers 1

initFunction · 0.85

Calls 4

staticFromFlagsFunction · 0.85
serverConfigFlagsFunction · 0.85
staticConfigFlagsFunction · 0.85
ServeMethod · 0.45

Tested by

no test coverage detected