Skip to content

Commit a5800b9

Browse files
GokceGKjoaopalet
andauthored
Update internal/cmd/beta/server/create/create.go
Co-authored-by: João Palet <joao.palet@outlook.com>
1 parent 018f1b0 commit a5800b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/cmd/beta/server/create/create.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ func configureFlags(cmd *cobra.Command) {
199199
cmd.Flags().String(machineTypeFlag, "", "Name of the type of the machine for the server. Possible values are documented in [Virtual machine flavors](https://docs.stackit.cloud/stackit/en/virtual-machine-flavors-75137231.html)")
200200
cmd.Flags().String(affinityGroupFlag, "", "The affinity group the server is assigned to")
201201
cmd.Flags().String(availabilityZoneFlag, "", "The availability zone of the server")
202-
cmd.Flags().String(bootVolumeSourceIdFlag, "", "ID of the source object of boot volume. It can be either 'image-id' or 'volume-id'")
202+
cmd.Flags().String(bootVolumeSourceIdFlag, "", "ID of the source object of boot volume. It can be either an image or volume ID")
203203
cmd.Flags().String(bootVolumeSourceTypeFlag, "", "Type of the source object of boot volume. It can be either 'image' or 'volume'")
204-
cmd.Flags().Int64(bootVolumeSizeFlag, 0, "The size of the boot volume in GB. Must be provided when `source_type` is `image`")
204+
cmd.Flags().Int64(bootVolumeSizeFlag, 0, "The size of the boot volume in GB. Must be provided when 'boot-volume-source-type' is 'image'")
205205
cmd.Flags().String(bootVolumePerformanceClassFlag, "", "Boot volume performance class")
206206
cmd.Flags().Bool(bootVolumeDeleteOnTerminationFlag, false, "Delete the volume during the termination of the server. Defaults to false")
207-
cmd.Flags().String(imageIdFlag, "", "The image ID to be used for an ephemeral disk on the server. Either image-id or boot volume is required")
207+
cmd.Flags().String(imageIdFlag, "", "The image ID to be used for an ephemeral disk on the server. Either 'image-id' or 'boot-volume-...' flags are required")
208208
cmd.Flags().String(keypairNameFlag, "", "The name of the SSH keypair used during the server creation")
209209
cmd.Flags().StringToString(labelFlag, nil, "Labels are key-value string pairs which can be attached to a server. E.g. '--labels key1=value1,key2=value2,...'")
210210
cmd.Flags().String(networkIdFlag, "", "ID of the network for the initial networking setup for the server creation")

0 commit comments

Comments
 (0)