diff --git a/providers/os/provider/detector.go b/providers/os/provider/detector.go index 6b46907efe..8f6c6e6ed2 100644 --- a/providers/os/provider/detector.go +++ b/providers/os/provider/detector.go @@ -52,6 +52,9 @@ func (s *Service) detect(asset *inventory.Asset, conn shared.Connection) error { if !ok { return errors.New("failed to detect OS") } + if asset.Platform.Kind == "" { + asset.Platform.Kind = "baremetal" + } var detectors map[string]struct{} if asset.Platform.Kind != "container-image" {