diff --git a/README.md b/README.md index 67e1e8ef20..84f15223d6 100644 --- a/README.md +++ b/README.md @@ -321,16 +321,16 @@ Create a new server but do not start it. Options: - --boot-type=auto Choose between 'local' and 'bootscript' boot - --bootscript="" Assign a bootscript - --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 - -e, --env="" Provide metadata tags passed to initrd (i.e., boot=rescue INITRD_DEBUG=1) - -h, --help=false Print usage - --ip-address=dynamic Assign a reserved public IP, a 'dynamic' one or 'none' - --ipv6=false Enable IPV6 - --name="" Assign a name - --tmp-ssh-key=false Access your server without uploading your SSH key to your account - -v, --volume="" Attach additional volume (i.e., 50G) + --boot-type=auto Choose between 'local' and 'bootscript' boot + --bootscript="" Assign a bootscript + --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 + -e, --env="" Provide metadata tags passed to initrd (i.e., boot=rescue INITRD_DEBUG=1) + -h, --help=false Print usage + --ip-address=dynamic Assign a reserved public IP, a 'dynamic' one or 'none' + --ipv6=false Enable IPV6 + --name="" Assign a name + --tmp-ssh-key=false Access your server without uploading your SSH key to your account + -v, --volume="" Attach additional volume (i.e., 50G) Examples: @@ -718,25 +718,25 @@ Run a command in a new server. Options: - -a, --attach=false Attach to serial console - --boot-type=auto Choose between 'local' and 'bootscript' boot - --bootscript="" Assign a bootscript - --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 - -d, --detach=false Run server in background and print server ID - -e, --env="" Provide metadata tags passed to initrd (i.e., boot=rescue INITRD_DEBUG=1) - -g, --gateway="" Use a SSH gateway - -h, --help=false Print usage - --ip-address="" Assign a reserved public IP, a 'dynamic' one or 'none' (default to 'none' if gateway specified, 'dynamic' otherwise) - --ipv6=false Enable IPV6 - --name="" Assign a name - -p, --port=22 Specify SSH port - --rm=false Automatically remove the server when it exits - --show-boot=false Allows to show the boot - -T, --timeout=0 Set timeout value to seconds - --tmp-ssh-key=false Access your server without uploading your SSH key to your account - -u, --userdata="" Start a server with userdata predefined - --user=root Specify SSH User - -v, --volume="" Attach additional volume (i.e., 50G) + -a, --attach=false Attach to serial console + --boot-type=auto Choose between 'local' and 'bootscript' boot + --bootscript="" Assign a bootscript + --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 + -d, --detach=false Run server in background and print server ID + -e, --env="" Provide metadata tags passed to initrd (i.e., boot=rescue INITRD_DEBUG=1) + -g, --gateway="" Use a SSH gateway + -h, --help=false Print usage + --ip-address="" Assign a reserved public IP, a 'dynamic' one or 'none' (default to 'none' if gateway specified, 'dynamic' otherwise) + --ipv6=false Enable IPV6 + --name="" Assign a name + -p, --port=22 Specify SSH port + --rm=false Automatically remove the server when it exits + --show-boot=false Allows to show the boot + -T, --timeout=0 Set timeout value to seconds + --tmp-ssh-key=false Access your server without uploading your SSH key to your account + -u, --userdata="" Start a server with userdata predefined + --user=root Specify SSH User + -v, --volume="" Attach additional volume (i.e., 50G) Examples: diff --git a/pkg/cli/cmd_create.go b/pkg/cli/cmd_create.go index dcae51d9ad..2d467ab52c 100644 --- a/pkg/cli/cmd_create.go +++ b/pkg/cli/cmd_create.go @@ -31,7 +31,7 @@ func init() { cmdCreate.Flag.StringVar(&createEnv, []string{"e", "-env"}, "", "Provide metadata tags passed to initrd (i.e., boot=rescue INITRD_DEBUG=1)") cmdCreate.Flag.StringVar(&createVolume, []string{"v", "-volume"}, "", "Attach additional volume (i.e., 50G)") cmdCreate.Flag.StringVar(&createIPAddress, []string{"-ip-address"}, "dynamic", "Assign a reserved public IP, a 'dynamic' one or 'none'") - 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") + 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") cmdCreate.Flag.StringVar(&createBootType, []string{"-boot-type"}, "auto", "Choose between 'local' and 'bootscript' boot") cmdCreate.Flag.BoolVar(&createHelp, []string{"h", "-help"}, false, "Print usage") cmdCreate.Flag.BoolVar(&createIPV6, []string{"-ipv6"}, false, "Enable IPV6") diff --git a/pkg/cli/cmd_run.go b/pkg/cli/cmd_run.go index c217574e1e..8c784c4c12 100644 --- a/pkg/cli/cmd_run.go +++ b/pkg/cli/cmd_run.go @@ -45,7 +45,7 @@ func init() { cmdRun.Flag.BoolVar(&runDetachFlag, []string{"d", "-detach"}, false, "Run server in background and print server ID") cmdRun.Flag.StringVar(&runGateway, []string{"g", "-gateway"}, "", "Use a SSH gateway") cmdRun.Flag.StringVar(&runUserdatas, []string{"u", "-userdata"}, "", "Start a server with userdata predefined") - 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") + 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") cmdRun.Flag.StringVar(&runBootType, []string{"-boot-type"}, "auto", "Choose between 'local' and 'bootscript' boot") cmdRun.Flag.StringVar(&runSSHUser, []string{"-user"}, "root", "Specify SSH User") cmdRun.Flag.BoolVar(&runAutoRemove, []string{"-rm"}, false, "Automatically remove the server when it exits")