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 @@ -6,13 +6,9 @@ USAGE:
scw apple-silicon server reinstall <server-id ...> [arg=value ...]

ARGS:
server-id UUID of the server you want to reinstall
[os-id] Reinstall the server with the OS corresponding to the os_id
[runner-configuration.name]
[runner-configuration.url]
[runner-configuration.token]
[runner-configuration.provider] (unknown_provider | github | gitlab)
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
server-id UUID of the server you want to reinstall
[os-id] Reinstall the server with the OS corresponding to the os_id
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)

FLAGS:
-h, --help help for reinstall
Expand Down
4 changes: 0 additions & 4 deletions docs/commands/apple-silicon.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,6 @@ scw apple-silicon server reinstall <server-id ...> [arg=value ...]
|------|---|-------------|
| server-id | Required | UUID of the server you want to reinstall |
| os-id | | Reinstall the server with the OS corresponding to the os_id |
| runner-configuration.name | | |
| runner-configuration.url | | |
| runner-configuration.token | | |
| runner-configuration.provider | One of: `unknown_provider`, `github`, `gitlab` | |
| zone | Default: `fr-par-1`<br />One of: `fr-par-3` | Zone to target. If none is passed will use default zone from the config |


Expand Down
29 changes: 0 additions & 29 deletions internal/namespaces/applesilicon/v1alpha1/applesilicon_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -574,35 +574,6 @@ func appleSiliconServerReinstall() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "runner-configuration.name",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "runner-configuration.url",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "runner-configuration.token",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "runner-configuration.provider",
Required: false,
Deprecated: false,
Positional: false,
EnumValues: []string{
"unknown_provider",
"github",
"gitlab",
},
},
core.ZoneArgSpec(scw.ZoneFrPar3),
},
Run: func(ctx context.Context, args any) (i any, e error) {
Expand Down
Loading