@@ -3566,6 +3566,9 @@ paths:
3566
3566
}
3567
3567
}' \
3568
3568
https://api.linode.com/v4/linode/instances/123/configs/23456
3569
+ - lang : CLI
3570
+ source : >
3571
+ linode-cli linodes config-update 123 23456 --kernel "linode/latest-64bit" --comments "This is my main Config" --memory_limit 2048 --run_level default --virt_mode paravirt --helpers.updatedb_disabled true --helpers.distro true --helpers.modules_dep true --helpers.network true --helpers.devtmpfs_automount false --label "My Config" --devices.sda.disk_id 123456 --devices.sdb.disk_id 123457
3569
3572
responses :
3570
3573
' 200 ' :
3571
3574
description : Configuration profile successfully updated.
@@ -3700,12 +3703,20 @@ paths:
3700
3703
-X POST -d '{
3701
3704
"label": "Debian 9 Disk",
3702
3705
"image": "linode/debian9",
3706
+ "size": 1300,
3703
3707
"authorized_keys": [
3704
3708
"ssh-rsa AAAA_valid_public_ssh_key_123456785== user@their-computer"
3705
3709
],
3706
3710
"root_pass": "aComplexP@ssword",
3711
+ "stackscript_id": 10079,
3712
+ "stackscript_data": {
3713
+ "gh_username": "linode"
3714
+ }
3707
3715
}' \
3708
3716
https://api.linode.com/v4/linode/instances/123/disks
3717
+ - lang : CLI
3718
+ source : >
3719
+ linode-cli linodes disk-create 123 --size 1300 --authorized_keys "ssh-rsa AAAA_valid_public_ssh_key_123456785== user@their-computer" --root_pass aComplex@Password --image "linode/debian9" --stackscript_id 10079 --stackscript_data '{"gh_username": "linode"}'
3709
3720
/linode/instances/{linodeId}/disks/{diskId} :
3710
3721
parameters :
3711
3722
- name : linodeId
@@ -4475,9 +4486,16 @@ paths:
4475
4486
"authorized_keys": [
4476
4487
"ssh-rsa AAAA_valid_public_ssh_key_123456785== user@their-computer"
4477
4488
],
4478
- "booted": true
4489
+ "booted": true,
4490
+ "stackscript_id": 10079,
4491
+ "stackscript_data": {
4492
+ "gh_username": "linode"
4493
+ }
4479
4494
}' \
4480
4495
https://api.linode.com/v4/linode/instances/123/rebuild
4496
+ - lang : CLI
4497
+ source : >
4498
+ linode-cli linodes rebuild 123 --image "linode/debian9" --root_pass aComplex@Password --authorized_keys "ssh-rsa AAAA_valid_public_ssh_key_123456785== user@their-computer" --booted true --stackscript_id 10079 --stackscript_data '{"gh_username": "linode"}'
4481
4499
/linode/instances/{linodeId}/rescue :
4482
4500
parameters :
4483
4501
- name : linodeId
@@ -4544,6 +4562,9 @@ paths:
4544
4562
}
4545
4563
}' \
4546
4564
https://api.linode.com/v4/linode/instances/123/rescue
4565
+ - lang : CLI
4566
+ source : >
4567
+ linode-cli linodes rescue 123 --devices.sda.disk_id 124458
4547
4568
/linode/instances/{linodeId}/resize :
4548
4569
parameters :
4549
4570
- name : linodeId
0 commit comments