Skip to content

Commit 5a6b27b

Browse files
authored
feat: change default server type to DEV1-S (#561)
1 parent 1d7366d commit 5a6b27b

File tree

3 files changed

+31
-31
lines changed

3 files changed

+31
-31
lines changed

README.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -321,16 +321,16 @@ Create a new server but do not start it.
321321

322322
Options:
323323

324-
--boot-type=auto Choose between 'local' and 'bootscript' boot
325-
--bootscript="" Assign a bootscript
326-
--commercial-type=X64-2GB 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
327-
-e, --env="" Provide metadata tags passed to initrd (i.e., boot=rescue INITRD_DEBUG=1)
328-
-h, --help=false Print usage
329-
--ip-address=dynamic Assign a reserved public IP, a 'dynamic' one or 'none'
330-
--ipv6=false Enable IPV6
331-
--name="" Assign a name
332-
--tmp-ssh-key=false Access your server without uploading your SSH key to your account
333-
-v, --volume="" Attach additional volume (i.e., 50G)
324+
--boot-type=auto Choose between 'local' and 'bootscript' boot
325+
--bootscript="" Assign a bootscript
326+
--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
327+
-e, --env="" Provide metadata tags passed to initrd (i.e., boot=rescue INITRD_DEBUG=1)
328+
-h, --help=false Print usage
329+
--ip-address=dynamic Assign a reserved public IP, a 'dynamic' one or 'none'
330+
--ipv6=false Enable IPV6
331+
--name="" Assign a name
332+
--tmp-ssh-key=false Access your server without uploading your SSH key to your account
333+
-v, --volume="" Attach additional volume (i.e., 50G)
334334

335335
Examples:
336336

@@ -718,25 +718,25 @@ Run a command in a new server.
718718

719719
Options:
720720

721-
-a, --attach=false Attach to serial console
722-
--boot-type=auto Choose between 'local' and 'bootscript' boot
723-
--bootscript="" Assign a bootscript
724-
--commercial-type=X64-2GB 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
725-
-d, --detach=false Run server in background and print server ID
726-
-e, --env="" Provide metadata tags passed to initrd (i.e., boot=rescue INITRD_DEBUG=1)
727-
-g, --gateway="" Use a SSH gateway
728-
-h, --help=false Print usage
729-
--ip-address="" Assign a reserved public IP, a 'dynamic' one or 'none' (default to 'none' if gateway specified, 'dynamic' otherwise)
730-
--ipv6=false Enable IPV6
731-
--name="" Assign a name
732-
-p, --port=22 Specify SSH port
733-
--rm=false Automatically remove the server when it exits
734-
--show-boot=false Allows to show the boot
735-
-T, --timeout=0 Set timeout value to seconds
736-
--tmp-ssh-key=false Access your server without uploading your SSH key to your account
737-
-u, --userdata="" Start a server with userdata predefined
738-
--user=root Specify SSH User
739-
-v, --volume="" Attach additional volume (i.e., 50G)
721+
-a, --attach=false Attach to serial console
722+
--boot-type=auto Choose between 'local' and 'bootscript' boot
723+
--bootscript="" Assign a bootscript
724+
--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
725+
-d, --detach=false Run server in background and print server ID
726+
-e, --env="" Provide metadata tags passed to initrd (i.e., boot=rescue INITRD_DEBUG=1)
727+
-g, --gateway="" Use a SSH gateway
728+
-h, --help=false Print usage
729+
--ip-address="" Assign a reserved public IP, a 'dynamic' one or 'none' (default to 'none' if gateway specified, 'dynamic' otherwise)
730+
--ipv6=false Enable IPV6
731+
--name="" Assign a name
732+
-p, --port=22 Specify SSH port
733+
--rm=false Automatically remove the server when it exits
734+
--show-boot=false Allows to show the boot
735+
-T, --timeout=0 Set timeout value to seconds
736+
--tmp-ssh-key=false Access your server without uploading your SSH key to your account
737+
-u, --userdata="" Start a server with userdata predefined
738+
--user=root Specify SSH User
739+
-v, --volume="" Attach additional volume (i.e., 50G)
740740

741741
Examples:
742742

pkg/cli/cmd_create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func init() {
3131
cmdCreate.Flag.StringVar(&createEnv, []string{"e", "-env"}, "", "Provide metadata tags passed to initrd (i.e., boot=rescue INITRD_DEBUG=1)")
3232
cmdCreate.Flag.StringVar(&createVolume, []string{"v", "-volume"}, "", "Attach additional volume (i.e., 50G)")
3333
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"}, "X64-2GB", "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 C1, C2[S|M|L], X64-[2|4|8|15|30|60|120]GB, ARM64-[2|4|8]GB")
3535
cmdCreate.Flag.StringVar(&createBootType, []string{"-boot-type"}, "auto", "Choose between 'local' and 'bootscript' boot")
3636
cmdCreate.Flag.BoolVar(&createHelp, []string{"h", "-help"}, false, "Print usage")
3737
cmdCreate.Flag.BoolVar(&createIPV6, []string{"-ipv6"}, false, "Enable IPV6")

pkg/cli/cmd_run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func init() {
4545
cmdRun.Flag.BoolVar(&runDetachFlag, []string{"d", "-detach"}, false, "Run server in background and print server ID")
4646
cmdRun.Flag.StringVar(&runGateway, []string{"g", "-gateway"}, "", "Use a SSH gateway")
4747
cmdRun.Flag.StringVar(&runUserdatas, []string{"u", "-userdata"}, "", "Start a server with userdata predefined")
48-
cmdRun.Flag.StringVar(&runCommercialType, []string{"-commercial-type"}, "X64-2GB", "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 C1, C2[S|M|L], X64-[2|4|8|15|30|60|120]GB, ARM64-[2|4|8]GB")
4949
cmdRun.Flag.StringVar(&runBootType, []string{"-boot-type"}, "auto", "Choose between 'local' and 'bootscript' boot")
5050
cmdRun.Flag.StringVar(&runSSHUser, []string{"-user"}, "root", "Specify SSH User")
5151
cmdRun.Flag.BoolVar(&runAutoRemove, []string{"-rm"}, false, "Automatically remove the server when it exits")

0 commit comments

Comments
 (0)