diff --git a/internal/distro/rhel9/imagetype.go b/internal/distro/rhel9/imagetype.go index 3db9e769a..be852bdff 100644 --- a/internal/distro/rhel9/imagetype.go +++ b/internal/distro/rhel9/imagetype.go @@ -152,7 +152,7 @@ func (t *imageType) getPartitionTable( basePartitionTable, exists := t.basePartitionTables[archName] if !exists { - return nil, fmt.Errorf("unknown arch: " + archName) + return nil, fmt.Errorf("no partition table defined for architecture %q for image type %q", archName, t.Name()) } imageSize := t.Size(options.Size)