Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ARGS:
[root-volume] Local root volume of the server
[additional-volumes.{index}] Additional local and block volumes attached to your server
[ip=new] Either an IP, an IP ID, ('new', 'ipv4', 'ipv6' or 'both') to create new IPs, 'dynamic' to use a dynamic IP or 'none' for no public IP (new | ipv4 | ipv6 | both | dynamic | none | <id> | <address>)
[dynamic-ip-required] Define if a dynamic IPv4 is required for the Instance. If server has no IPv4, a dynamic one will be allocated.
[dynamic-ip-required=true] Define if a dynamic IPv4 is required for the Instance. If server has no IPv4, a dynamic one will be allocated.
[tags.{index}] Server tags
[ipv6] Enable IPv6, to be used with routed-ip-enabled=false
[stopped] Do not start server after its creation
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,7 @@ scw instance server create [arg=value ...]
| root-volume | | Local root volume of the server |
| additional-volumes.{index} | | Additional local and block volumes attached to your server |
| ip | Default: `new` | Either an IP, an IP ID, ('new', 'ipv4', 'ipv6' or 'both') to create new IPs, 'dynamic' to use a dynamic IP or 'none' for no public IP (new | ipv4 | ipv6 | both | dynamic | none | <id> | <address>) |
| dynamic-ip-required | | Define if a dynamic IPv4 is required for the Instance. If server has no IPv4, a dynamic one will be allocated. |
| dynamic-ip-required | Default: `true` | Define if a dynamic IPv4 is required for the Instance. If server has no IPv4, a dynamic one will be allocated. |
| tags.{index} | | Server tags |
| ipv6 | | Enable IPv6, to be used with routed-ip-enabled=false |
| stopped | | Do not start server after its creation |
Expand Down
5 changes: 3 additions & 2 deletions internal/namespaces/instance/v1/custom_server_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ func serverCreateCommand() *core.Command {
Default: core.DefaultValueSetter("new"),
},
{
Name: "dynamic-ip-required",
Short: "Define if a dynamic IPv4 is required for the Instance. If server has no IPv4, a dynamic one will be allocated.",
Name: "dynamic-ip-required",
Short: "Define if a dynamic IPv4 is required for the Instance. If server has no IPv4, a dynamic one will be allocated.",
Default: core.DefaultValueSetter("true"),
},
{
Name: "tags.{index}",
Expand Down
Loading