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
cmdCreate.Flag.StringVar(&createIPAddress, []string{"-ip-address"}, "dynamic", "Assign a reserved public IP, a 'dynamic' one or 'none'")
34
-
cmdCreate.Flag.StringVar(&createCommercialType, []string{"-commercial-type"}, "DEV1-S", "Create a server with specific commercial-type C1, C2[S|M|L], X64-[2|4|8|15|30|60|120]GB, ARM64-[2|4|8]GB")
34
+
cmdCreate.Flag.StringVar(&createCommercialType, []string{"-commercial-type"}, "DEV1-S", "Create a server with specific commercial-type DEV1-[S|M|L|XL], GP1-[XS|S|M|L|XL], RENDER-S")
35
35
cmdCreate.Flag.StringVar(&createBootType, []string{"-boot-type"}, "auto", "Choose between 'local' and 'bootscript' boot")
Copy file name to clipboardExpand all lines: pkg/cli/cmd_run.go
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,13 @@ var cmdRun = &Command{
17
17
Description: "Run a command in a new server",
18
18
Help: "Run a command in a new server.",
19
19
Examples: `
20
-
$ scw run ubuntu-trusty
21
-
$ scw run --commercial-type=C2S ubuntu-trusty
22
-
$ scw run --show-boot --commercial-type=C2S ubuntu-trusty
23
-
$ scw run --rm ubuntu-trusty
24
-
$ scw run -a --rm ubuntu-trusty
25
-
$ scw run --gateway=myotherserver ubuntu-trusty
26
-
$ scw run ubuntu-trusty bash
20
+
$ scw run ubuntu-bionic
21
+
$ scw run --commercial-type=DEV1-S ubuntu-bionic
22
+
$ scw run --show-boot --commercial-type=DEV1-S ubuntu-bionic
23
+
$ scw run --rm ubuntu-bionic
24
+
$ scw run -a --rm ubuntu-bionic
25
+
$ scw run --gateway=myotherserver ubuntu-bionic
26
+
$ scw run ubuntu-bionic bash
27
27
$ scw run --name=mydocker docker docker run moul/nyancat:armhf
28
28
$ scw run --bootscript=3.2.34 --env="boot=live rescue_image=http://j.mp/scaleway-ubuntu-trusty-tarball" 50GB bash
29
29
$ scw run --attach alpine
@@ -45,7 +45,7 @@ func init() {
45
45
cmdRun.Flag.BoolVar(&runDetachFlag, []string{"d", "-detach"}, false, "Run server in background and print server ID")
46
46
cmdRun.Flag.StringVar(&runGateway, []string{"g", "-gateway"}, "", "Use a SSH gateway")
47
47
cmdRun.Flag.StringVar(&runUserdatas, []string{"u", "-userdata"}, "", "Start a server with userdata predefined")
48
-
cmdRun.Flag.StringVar(&runCommercialType, []string{"-commercial-type"}, "DEV1-S", "Start a server with specific commercial-type C1, C2[S|M|L], X64-[2|4|8|15|30|60|120]GB, ARM64-[2|4|8]GB")
48
+
cmdRun.Flag.StringVar(&runCommercialType, []string{"-commercial-type"}, "DEV1-S", "Start a server with specific commercial-type DEV1-[S|M|L|XL], GP1-[XS|S|M|L|XL], RENDER-S")
49
49
cmdRun.Flag.StringVar(&runBootType, []string{"-boot-type"}, "auto", "Choose between 'local' and 'bootscript' boot")
0 commit comments