gdcloud artifacts vm-images package

NAME

gdcloud artifacts vm-images package - Package a VM image file into an OCI artifact.

SYNOPSIS

gdcloud artifacts vm-images package SOURCE DESTINATION [flags]

EXAMPLES

To package a VM image into a format compatible with System Artifact Registry, run:

            gdcloud artifacts vm-images package SOURCE DESTINATION \
            --name IMAGE_NAME \
            --version VERSION_NUMBER \
            --os IMAGE_OS

OPTIONAL FLAGS

  -h, --help                                       help for package
      --limit-object-storage-distribution string   Limit the distribution of the image to object storage in specific organizations.
                                                   Set the value to "gdchservices" to only distribute the image to the
                                                   object storage of the "gdchservices" organization.
                                                   Set the value to "none" to prevent the distribution of the image to the
                                                   object storage of any organization.
                                                   If this value is empty, the image is distributed to the
                                                   object storage of all organizations.
      --minimumDiskSize string                     Minimum size of the disk this image can be used on. For example, 10GB.
      --name string                                Name of the VM image.
      --nodeVMImage                                If set, the VM image is a GDCH internal cluster node image.
      --os string                                  Operating system of the image. Must be one of: [rhel-8 rocky-linux-8 ubuntu-2004 windows-2019]
      --project string                             GDCH project the image belongs to. If set, the OCI metadata will have the target harbor property set to the name of the harbor project corresponding to the GDCH project.
      --version string                             Version of the VM image. For example, 0.1.