Skip to content

Commit ee1eb90

Browse files
committed
Add image-upload CLI command
1 parent ffee7ed commit ee1eb90

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

openapi.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3917,7 +3917,15 @@ paths:
39173917
}' \
39183918
https://api.linode.com/v4/images/upload
39193919
- lang: CLI
3920-
source: >
3920+
source: |
3921+
# Use the image-upload plugin to upload the Image file in a single step
3922+
linode-cli image-upload \
3923+
--description "Optional details about the Image" \
3924+
--label "Example Image" \
3925+
--region us-east \
3926+
/path/to/image-file.img.gz
3927+
3928+
# Returns an upload URL and requires uploading the Image file with a second step
39213929
linode-cli images upload \
39223930
--description "Optional details about the Image" \
39233931
--label "Example Image" \

0 commit comments

Comments
 (0)