As a preparation to be able to determine the image boot mode when importing it to the target environment (e.g. AWS), expose the information on the `ImageType` level. The image boot mode is determined based on the platform associated with it. The new method is not yet used by any code, but will be eventually used by osbuild-composer server to set the proper value in the upload target options for the worker. The worker will be then able to import the image in the proper way to the cloud environment. Signed-off-by: Tomáš Hozza <thozza@redhat.com> |
||
|---|---|---|
| .. | ||
| distro.go | ||