You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-instance-server-create-usage.golden
+19-18Lines changed: 19 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -26,24 +26,25 @@ EXAMPLES:
26
26
scw instance server create image=ubuntu_focal ip=$ip
27
27
28
28
ARGS:
29
-
image=ubuntu_jammy Image ID or label of the server
30
-
type=DEV1-S Server commercial type (help: https://www.scaleway.com/en/docs/compute/instances/reference-content/choosing-instance-type/)
31
-
[name=<generated>] Server name
32
-
[root-volume] Local root volume of the server
33
-
[additional-volumes.{index}] Additional local and block volumes attached to your server
34
-
[ip=new] Either an IP, an IP ID, 'new' to create a new IP, 'dynamic' to use a dynamic IP or 'none' for no public IP (new | dynamic | none | <id> | <address>)
35
-
[tags.{index}] Server tags
36
-
[ipv6] Enable IPv6
37
-
[stopped] Do not start server after its creation
38
-
[security-group-id] The security group ID used for this server
39
-
[placement-group-id] The placement group ID in which the server has to be created
40
-
[bootscript-id] The bootscript ID to use, if empty the local boot will be used
41
-
[cloud-init] The cloud-init script to use (Support file loading with @/path/to/file)
42
-
[boot-type=local] The boot type to use, if empty the local boot will be used. Will be overwritten to bootscript if bootscript-id is set. (local | bootscript | rescue)
43
-
[routed-ip-enabled] Enable routed IP support
44
-
[project-id] Project ID to use. If none is passed the default project ID will be used
45
-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3)
46
-
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
29
+
image=ubuntu_jammy Image ID or label of the server
30
+
type=DEV1-S Server commercial type (help: https://www.scaleway.com/en/docs/compute/instances/reference-content/choosing-instance-type/)
31
+
[name=<generated>] Server name
32
+
[root-volume] Local root volume of the server
33
+
[additional-volumes.{index}] Additional local and block volumes attached to your server
34
+
[ip=new] Either an IP, an IP ID, 'new' to create a new IP, 'dynamic' to use a dynamic IP or 'none' for no public IP (new | dynamic | none | <id> | <address>)
35
+
[tags.{index}] Server tags
36
+
[ipv6] Enable IPv6
37
+
[stopped] Do not start server after its creation
38
+
[security-group-id] The security group ID used for this server
39
+
[placement-group-id] The placement group ID in which the server has to be created
40
+
[bootscript-id] The bootscript ID to use, if empty the local boot will be used
41
+
[cloud-init] The cloud-init script to use (Support file loading with @/path/to/file)
42
+
[boot-type=local] The boot type to use, if empty the local boot will be used. Will be overwritten to bootscript if bootscript-id is set. (local | bootscript | rescue)
43
+
[routed-ip-enabled] Enable routed IP support
44
+
[admin-password-encryption-ssh-key-id] ID of the IAM SSH Key used to encrypt generated admin password. Required when creating a windows server.
45
+
[project-id] Project ID to use. If none is passed the default project ID will be used
46
+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3)
47
+
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
Copy file name to clipboardExpand all lines: docs/commands/instance.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ This API allows you to manage your Instances.
60
60
-[Detach a volume from its server](#detach-a-volume-from-its-server)
61
61
-[Migrate server to IP mobility](#migrate-server-to-ip-mobility)
62
62
-[Get an Instance](#get-an-instance)
63
-
-[Get your server rdp and decrypt it using your ssh key](#get-your-server-rdp-and-decrypt-it-using-your-ssh-key)
63
+
-[Get your server rdp password and decrypt it using your ssh key](#get-your-server-rdp-password-and-decrypt-it-using-your-ssh-key)
64
64
-[List all Instances](#list-all-instances)
65
65
-[List Instance actions](#list-instance-actions)
66
66
-[Reboot server](#reboot-server)
@@ -1720,6 +1720,7 @@ scw instance server create [arg=value ...]
1720
1720
| cloud-init || The cloud-init script to use |
1721
1721
| boot-type | Default: `local`<br />One of: `local`, `bootscript`, `rescue`| The boot type to use, if empty the local boot will be used. Will be overwritten to bootscript if bootscript-id is set. |
1722
1722
| routed-ip-enabled || Enable routed IP support |
1723
+
| admin-password-encryption-ssh-key-id || ID of the IAM SSH Key used to encrypt generated admin password. Required when creating a windows server. |
1723
1724
| project-id || Project ID to use. If none is passed the default project ID will be used |
1724
1725
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`| Zone to target. If none is passed will use default zone from the config |
1725
1726
| organization-id || Organization ID to use. If none is passed the default organization ID will be used |
@@ -1923,7 +1924,7 @@ scw instance server get 94ededdf-358d-4019-9886-d754f8a2e78d
1923
1924
1924
1925
1925
1926
1926
-
### Get your server rdp and decrypt it using your ssh key
1927
+
### Get your server rdp password and decrypt it using your ssh key
Message: "RDP password is nil or empty in api response",
119
+
Details: "Your server have no RDP password available",
120
+
Hint: "You may need to wait for your OS to start before having a generated RDP password, it can take more than 10 minutes.\nUse -w, --wait to wait for password to be available",
0 commit comments