Skip to content

Commit dc425c0

Browse files
authored
fix(instance): remove deprecated bootscript documentation (#4187)
1 parent 1650cdb commit dc425c0

File tree

4 files changed

+0
-17
lines changed

4 files changed

+0
-17
lines changed

cmd/scw/testdata/test-all-usage-instance-image-create-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ ARGS:
2525
[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)
2626

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

3130
FLAGS:

cmd/scw/testdata/test-all-usage-instance-server-update-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ ARGS:
4444
[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)
4545

4646
DEPRECATED ARGS:
47-
[bootscript]
4847
[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)
4948
[enable-ipv6]
5049

docs/commands/instance.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ scw instance image create [arg=value ...]
134134
| name | Default: `<generated>` | Name of the image |
135135
| snapshot-id | Required | UUID of the snapshot that will be used as root volume in the image |
136136
| arch | Required<br />One of: `unknown_arch`, `x86_64`, `arm`, `arm64` | Architecture of the image |
137-
| ~~default-bootscript~~ | Deprecated | Default bootscript of the image |
138137
| additional-volumes.{index}.id | | UUID of the snapshot to add |
139138
| additional-volumes.{index}.name | | Name of the additional snapshot |
140139
| additional-volumes.{index}.size | | Size of the additional snapshot |
@@ -2271,7 +2270,6 @@ scw instance server update <server-id ...> [arg=value ...]
22712270
| volumes.{key}.base-snapshot | | ID of the snapshot on which this volume will be based |
22722271
| volumes.{key}.project | | Project ID of the volume |
22732272
| volumes.{key}.organization | | Organization ID of the volume |
2274-
| ~~bootscript~~ | Deprecated | |
22752273
| dynamic-ip-required | | |
22762274
| ~~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) |
22772275
| public-ips.{index} | | A list of reserved IP IDs to attach to the Instance |

internal/namespaces/instance/v1/instance_cli.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -651,12 +651,6 @@ func instanceServerUpdate() *core.Command {
651651
Deprecated: false,
652652
Positional: false,
653653
},
654-
{
655-
Name: "bootscript",
656-
Required: false,
657-
Deprecated: true,
658-
Positional: false,
659-
},
660654
{
661655
Name: "dynamic-ip-required",
662656
Required: false,
@@ -1117,13 +1111,6 @@ func instanceImageCreate() *core.Command {
11171111
Positional: false,
11181112
EnumValues: []string{"unknown_arch", "x86_64", "arm", "arm64"},
11191113
},
1120-
{
1121-
Name: "default-bootscript",
1122-
Short: `Default bootscript of the image`,
1123-
Required: false,
1124-
Deprecated: true,
1125-
Positional: false,
1126-
},
11271114
{
11281115
Name: "extra-volumes.{key}.id",
11291116
Short: `UUID of the volume`,

0 commit comments

Comments
 (0)