Skip to content

Latest commit

 

History

History
62 lines (48 loc) · 2.3 KB

stackit_image_update.md

File metadata and controls

62 lines (48 loc) · 2.3 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

      --boot-menu               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                    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               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             Enables Secure Boot.
      --uefi                    Enables UEFI boot.
      --video-model string      Sets Graphic device model.
      --virtio-scsi             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             If set, skips all confirmation prompts
      --async                  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