|
| 1 | +## stackit beta image create |
| 2 | + |
| 3 | +Creates images |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Creates images. |
| 8 | + |
| 9 | +``` |
| 10 | +stackit beta image create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create an image with name 'my-new-image' from a raw disk image located in '/my/raw/image' |
| 17 | + $ stackit beta image create --name my-new-image --disk-format=raw --local-file-path=/my/raw/image |
| 18 | +
|
| 19 | + Create an image with name 'my-new-image' from a qcow2 image read from '/my/qcow2/image' with labels describing its contents |
| 20 | + $ stackit beta image create --name my-new-image --disk-format=qcow2 --local-file-path=/my/qcow2/image --labels os=linux,distro=alpine,version=3.12 |
| 21 | +``` |
| 22 | + |
| 23 | +### Options |
| 24 | + |
| 25 | +``` |
| 26 | + --boot-menu Enables the BIOS bootmenu. |
| 27 | + --cdrom-bus string Sets CDROM bus controller type. |
| 28 | + --disk-bus string Sets Disk bus controller type. |
| 29 | + --disk-format string The disk format of the image. |
| 30 | + -h, --help Help for "stackit beta image create" |
| 31 | + --labels stringToString Labels are key-value string pairs which can be attached to a network-interface. E.g. '--labels key1=value1,key2=value2,...' (default []) |
| 32 | + --local-file-path string The path to the local disk image file. |
| 33 | + --min-disk-size int Size in Gigabyte. |
| 34 | + --min-ram int Size in Megabyte. |
| 35 | + --name string The name of the image. |
| 36 | + --nic-model string Sets virtual nic model. |
| 37 | + --no-progress Show no progress indicator for upload. |
| 38 | + --os string Enables OS specific optimizations. |
| 39 | + --os-distro string Operating System Distribution. |
| 40 | + --os-version string Version of the OS. |
| 41 | + --protected Protected VM. |
| 42 | + --rescue-bus string Sets the device bus when the image is used as a rescue image. |
| 43 | + --rescue-device string Sets the device when the image is used as a rescue image. |
| 44 | + --secure-boot Enables Secure Boot. |
| 45 | + --uefi Enables UEFI boot. |
| 46 | + --video-model string Sets Graphic device model. |
| 47 | + --virtio-scsi Enables the use of VirtIO SCSI to provide block device access. By default instances use VirtIO Block. |
| 48 | +``` |
| 49 | + |
| 50 | +### Options inherited from parent commands |
| 51 | + |
| 52 | +``` |
| 53 | + -y, --assume-yes If set, skips all confirmation prompts |
| 54 | + --async If set, runs the command asynchronously |
| 55 | + -o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"] |
| 56 | + -p, --project-id string Project ID |
| 57 | + --region string Target region for region-specific requests |
| 58 | + --verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info") |
| 59 | +``` |
| 60 | + |
| 61 | +### SEE ALSO |
| 62 | + |
| 63 | +* [stackit beta image](./stackit_beta_image.md) - Manage server images |
| 64 | + |
0 commit comments