(parent *cobra.Command)
| 296 | } |
| 297 | |
| 298 | func 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 | |
| 314 | func archRecipe(parent *cobra.Command) { |
| 315 | archCmd := &cobra.Command{ |
no test coverage detected