Skip to content

Commit

Permalink
fix(instance): remove deprecated bootscript documentation (#4187)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Oct 17, 2024
1 parent 1650cdb commit dc425c0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ ARGS:
[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)

DEPRECATED ARGS:
[default-bootscript] Default bootscript of the image
[additional-volumes.{index}.organization-id] Organization ID that own the additional snapshot

FLAGS:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ ARGS:
[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)

DEPRECATED ARGS:
[bootscript]
[routed-ip-enabled] True to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False)
[enable-ipv6]

Expand Down
2 changes: 0 additions & 2 deletions docs/commands/instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ scw instance image create [arg=value ...]
| name | Default: `<generated>` | Name of the image |
| snapshot-id | Required | UUID of the snapshot that will be used as root volume in the image |
| arch | Required<br />One of: `unknown_arch`, `x86_64`, `arm`, `arm64` | Architecture of the image |
| ~~default-bootscript~~ | Deprecated | Default bootscript of the image |
| additional-volumes.{index}.id | | UUID of the snapshot to add |
| additional-volumes.{index}.name | | Name of the additional snapshot |
| additional-volumes.{index}.size | | Size of the additional snapshot |
Expand Down Expand Up @@ -2271,7 +2270,6 @@ scw instance server update <server-id ...> [arg=value ...]
| volumes.{key}.base-snapshot | | ID of the snapshot on which this volume will be based |
| volumes.{key}.project | | Project ID of the volume |
| volumes.{key}.organization | | Organization ID of the volume |
| ~~bootscript~~ | Deprecated | |
| dynamic-ip-required | | |
| ~~routed-ip-enabled~~ | Deprecated | True to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False) |
| public-ips.{index} | | A list of reserved IP IDs to attach to the Instance |
Expand Down
13 changes: 0 additions & 13 deletions internal/namespaces/instance/v1/instance_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,12 +651,6 @@ func instanceServerUpdate() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "bootscript",
Required: false,
Deprecated: true,
Positional: false,
},
{
Name: "dynamic-ip-required",
Required: false,
Expand Down Expand Up @@ -1117,13 +1111,6 @@ func instanceImageCreate() *core.Command {
Positional: false,
EnumValues: []string{"unknown_arch", "x86_64", "arm", "arm64"},
},
{
Name: "default-bootscript",
Short: `Default bootscript of the image`,
Required: false,
Deprecated: true,
Positional: false,
},
{
Name: "extra-volumes.{key}.id",
Short: `UUID of the volume`,
Expand Down

0 comments on commit dc425c0

Please sign in to comment.