upctl server modify
Modifies the configuration of an existing server
Examples
upctl server modify 00bb4617-c592-4b32-b869-35a60b323b18 --plan 1xCPU-1GB
upctl server modify 00bb4617-c592-4b32-b869-35a60b323b18 0053a6f5-e6d1-4b0b-b9dc-b90d0894e8d0 --plan 1xCPU-1GB
upctl server modify my_server1 --plan 1xCPU-2GB
upctl server modify myapp --hostname superapp
Options
Option | Description |
---|---|
--boot-order |
The boot device order, disk / cdrom / network or comma separated combination. |
--cores |
Number of cores. Sets server plan to custom. Default: 0 |
--hostname |
Hostname. |
--enable-firewall |
Enable firewall. |
--disable-firewall |
Disable firewall. |
--label |
Labels to describe the server in key=value format, multiple can be declared. If set, all the existing labels will be replaced with provided ones.Usage: --label env=dev --label owner=operations Default: [] |
--memory |
Memory amount in MiB. Sets server plan to custom. Default: 0 |
--enable-metadata |
Enable metadata service. |
--disable-metadata |
Disable metadata service. |
--plan |
Server plan to use. |
--simple-backup |
Simple backup rule. Format (HHMM,{dailies,weeklies,monthlies}). Example: 2300,dailies |
--title |
A short, informational description. |
--time-zone |
Time zone to set the RTC to. |
--video-model |
Video interface model of the server. Available: vga,cirrus |
--enable-remote-access |
Enable remote access. |
--disable-remote-access |
Disable remote access. |
--remote-access-type |
The remote access type. |
--remote-access-password |
The remote access password. |
--help , -h |
help for modify Default: false |
Global options
Option | Description |
---|---|
--client-timeout , -t |
Client timeout to use in API calls. Default: 0s |
--config |
Configuration file path. |
--debug |
Print out more verbose debug logs. Default: false |
--force-colours |
Force coloured output despite detected terminal support. |
--no-colours |
Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable. |
--output , -o |
Output format (supported: json, yaml and human) Default: human |
Related commands
Command | Description |
---|---|
upctl server | Manage servers |