Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 2.43 KB

stackit_image_update.md

File metadata and controls

63 lines (49 loc) · 2.43 KB

stackit image update

Updates an image

Synopsis

Updates an image

stackit image update IMAGE_ID [flags]

Examples

  Update the name of an image with ID "xxx"
  $ stackit image update xxx --name my-new-name

  Update the labels of an image with ID "xxx"
  $ stackit image update xxx --labels label1=value1,label2=value2

Options

      --architecture string        Sets the CPU architecture.
      --boot-menu[=true|false]     Enables the BIOS bootmenu.
      --cdrom-bus string           Sets CDROM bus controller type.
      --disk-bus string            Sets Disk bus controller type.
      --disk-format string         The disk format of the image. 
  -h, --help[=true|false]          Help for "stackit image update"
      --labels stringToString      Labels are key-value string pairs which can be attached to a network-interface. E.g. '--labels key1=value1,key2=value2,...' (default [])
      --min-disk-size int          Size in Gigabyte.
      --min-ram int                Size in Megabyte.
      --name string                The name of the image.
      --nic-model string           Sets virtual nic model.
      --os string                  Enables OS specific optimizations.
      --os-distro string           Operating System Distribution.
      --os-version string          Version of the OS.
      --protected[=true|false]     Protected VM.
      --rescue-bus string          Sets the device bus when the image is used as a rescue image.
      --rescue-device string       Sets the device when the image is used as a rescue image.
      --secure-boot[=true|false]   Enables Secure Boot.
      --uefi[=true|false]          Enables UEFI boot.
      --video-model string         Sets Graphic device model.
      --virtio-scsi[=true|false]   Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block.

Options inherited from parent commands

  -y, --assume-yes[=true|false]   If set, skips all confirmation prompts
      --async[=true|false]        If set, runs the command asynchronously
  -o, --output-format string      Output format, (one of: [json, pretty, none, yaml])
  -p, --project-id string         Project ID
      --region string             Target region for region-specific requests
      --verbosity string          Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")

SEE ALSO