diff --git a/cmd/image-builder/main.go b/cmd/image-builder/main.go index 361120f..773fe86 100644 --- a/cmd/image-builder/main.go +++ b/cmd/image-builder/main.go @@ -355,6 +355,12 @@ func cmdDescribeImg(cmd *cobra.Command, args []string) error { if archStr == "" { archStr = arch.Current().String() } + + distroStr, err = findDistro(distroStr, "") + if err != nil { + return err + } + imgTypeStr := args[0] res, err := getOneImage(distroStr, imgTypeStr, archStr, &repoOptions{DataDir: dataDir}) if err != nil {