Updates an existing Cloudmin account plan
This command changes the limits on an existing plan, and thus any system owners on that plan. The plan is selected with the --name
flag,
which must be followed by a plan name or ID.
The virtual systems limit can be changed with the --max-systems
flag, which must be followed by an integer. Or you can remove the limit with the --unlimited-systems
flag. Similarly, the --max-ram
, --max-disk
and --max-cpu
flags can be used to limit total allocated RAM, disk space and CPU load. Both must be followed by a number in bytes.
The --max-bw
flag can be used to set the maximum bandwidth the owner's systems can consume over the bandwidth accounting period.
The --unlimited-bw
flag can be used to remove this limit.
To add a new virtual system type to the list of those that system owners on this plan can created, use the --add-type
flag followed by a type name, like xen
. To take away a type, use the --remove-type
flag.
To grant owners on this plan access to a system image, use the --image
flag followed by an image ID. Similarly, to deny access to an image use the --remove-image
flag. To given owners access to all images, use the --all-images
flag.
The --can-*
and --cannot-*
families of flags can be used to grant or remove permissions on the systems account owners manage. For a full list, see the documentation for the create-plan
command.
To change the name of a plan, use the --newname
flag followed by a name that is not currently in use by any other plan.
Example usage
cloudmin modify-plan --name "Command line plan" --max-servers 5 --add-type xen Updated Cloudmin account plan Command line plan
Command Line Help
Updates an existing Cloudmin account plan. cloudmin modify-plan --name plan-name [--max-servers number | --unlimited-servers] [--max-ram bytes | --unlimited-ram] [--max-disk bytes | --unlimited-disk] [--max-cpu number | --unlimited-cpu] [--max-ips number | --unlimited-ips] [--max-bw bytes | --unlimited-bw] [--max-space bytes | --unlimited-space] [--add-type kvm|gce]* [--remove-type kvm|gce]* [--add-image id]* [--remove-image id]* [--all-images] [--add-host hostname]* [--remove-host hostname]* [--all-hosts] [--can-startup | --cannot-startup] [--can-shutdown | --cannot-shutdown] [--can-reboot | --cannot-reboot] [--can-boot | --cannot-boot] [--can-console | --cannot-console] [--can-graph | --cannot-graph] [--can-view | --cannot-view] [--can-run | --cannot-run] [--can-pass | --cannot-pass] [--can-domains | --cannot-domains] [--can-update | --cannot-update] [--can-script | --cannot-script] [--can-pause | --cannot-pause] [--can-reset | --cannot-reset] [--can-create | --cannot-create] [--can-add | --cannot-add] [--can-empty | --cannot-empty] [--can-delete | --cannot-delete] [--can-advanced | --cannot-advanced] [--can-ips | --cannot-ips] [--can-ifaces | --cannot-ifaces] [--can-realifaces | --cannot-realifaces] [--can-reverse | --cannot-reverse] [--can-limits | --cannot-limits] [--can-vcpus | --cannot-vcpus] [--can-ioclass | --cannot-ioclass] [--can-disks | --cannot-disks] [--can-devices | --cannot-devices] [--can-sshkeys | --cannot-sshkeys] [--can-backup | --cannot-backup] [--can-webmin | --cannot-webmin] [--can-virtualmin | --cannot-virtualmin] [--can-api | --cannot-api] [--can-storage | --cannot-storage] [--can-snapshot | --cannot-snapshot] [--can-mount | --cannot-mount] [--can-groups | --cannot-groups] [--can-rate | --cannot-rate] [--host-mode mem|disk|rand|location | --no-host-mode] [--provision-from-plan true|false] [--provision-max-mysql number|none] [--provision-max-mysqldb number|none] [--provision-max-dns number|none] [--provision-max-virus number|none] [--provision-max-spam number|none]