You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Boards were deprecated in favor of overlays from Talos 1.7.
Now completely remove all board specific code.
Part of: #12492
Signed-off-by: Noel Georgi <git@frezbo.dev>
Copy file name to clipboardExpand all lines: cmd/installer/cmd/imager/root.go
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,6 @@ import (
31
31
varcmdFlagsstruct {
32
32
Platformstring
33
33
Archstring
34
-
Boardstring
35
34
// Insecure can be set to true to force pull from insecure registry.
36
35
Insecurebool
37
36
ExtraKernelArgs []string
@@ -77,7 +76,6 @@ var rootCmd = &cobra.Command{
77
76
prof= profile.Profile{
78
77
BaseProfileName: baseProfile,
79
78
Arch: cmdFlags.Arch,
80
-
Board: cmdFlags.Board,
81
79
Platform: cmdFlags.Platform,
82
80
Customization: profile.CustomizationProfile{
83
81
ExtraKernelArgs: cmdFlags.ExtraKernelArgs,
@@ -236,7 +234,6 @@ func init() {
236
234
rootCmd.PersistentFlags().StringVar(&cmdFlags.Arch, "arch", runtime.GOARCH, "The target architecture")
237
235
rootCmd.PersistentFlags().StringVar(&cmdFlags.BaseInstallerImage, "base-installer-image", "", "Base installer image to use")
238
236
rootCmd.PersistentFlags().StringVar(&cmdFlags.ImageCache, "image-cache", "", "Image cache container image or oci path")
239
-
rootCmd.PersistentFlags().StringVar(&cmdFlags.Board, "board", "", "The value of "+constants.KernelParamBoard)
240
237
rootCmd.PersistentFlags().BoolVar(&cmdFlags.Insecure, "insecure", false, "Pull assets from insecure registry")
241
238
rootCmd.PersistentFlags().StringArrayVar(&cmdFlags.ExtraKernelArgs, "extra-kernel-arg", []string{}, "Extra argument to pass to the kernel")
242
239
rootCmd.PersistentFlags().Var(&cmdFlags.MetaValues, "meta", "A key/value pair for META")
@@ -248,9 +245,6 @@ func init() {
248
245
rootCmd.PersistentFlags().StringVar(&cmdFlags.OverlayImage, "overlay-image", "", "The image reference to the overlay")
249
246
rootCmd.PersistentFlags().StringArrayVar(&cmdFlags.OverlayOptions, "overlay-option", []string{}, "Extra options to pass to the overlay")
250
247
rootCmd.PersistentFlags().StringVar(&cmdFlags.EmbeddedConfigPath, "embedded-config-path", "", "Path to a file containing the machine configuration to embed into the image")
0 commit comments