create-plan

Creates a new Cloudmin account plan

A plan defines limits on the number of system and amounts of RAM and disk a Cloudmin system owner can use, VPS types he can create, and actions he can perform. This command allows you to create a new plan, whose name is specified with the --name flag.

The virtual systems limit is set with the --max-systems flag, which must be followed by an integer. If this is not given, no limit on the number of systems will be enforced. Similarly, the --max-ram and --max-disk flags can be used to limit total allocated RAM and disk space.
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.
If this is exceeded, email will be sent to the master administrator and the system owner.

If your Cloudmin install manages more than one type of virtual system (such as Xen instances and Solaris Zones), the --type flag can be given,
followed by a system type. If missing, all VPS types will be allowed.

By default, owners on this plan will be able to create virtual systems using any image. To restrict them to a subset of images, add the --image flag followed by an image ID, like xen-centos5.3-base. This can be given multiple times to allow more than one image.

To specify which actions owners on this plan are allowed to perform, use the following flags :

--can-startup - Startup systems --can-shutdown - Shut down systems --can-reboot - Reboot systems --can-console - View and interact with console --can-graph - View bandwidth usage graph --can-view - View system details --can-run - Run commands on systems --can-domains - Manage Virtualmin domains --can-update - Update packages --can-script - Update installed scripts --can-pause - Pause virtual systems --can-reset - Reset to original image

If none are given, all actions will be allowed.

Example usage

  cloudmin create-plan --name "Command line plan" --max-servers 2 --max-ram 1000000000 --max-disk 5000000000 --type xen
  Created Cloudmin account plan Command line plan

Command Line Help

Creates a new Cloudmin account plan.

cloudmin create-plan --name plan-name
                    [--max-servers number]
                    [--max-ram bytes]
                    [--max-disk bytes]
                    [--max-cpu number]
                    [--max-ips number]
                    [--max-bw bytes]
                    [--max-space bytes]
                    [--type kvm|gce]*
                    [--image id]*
                    [--can-startup]
                    [--can-shutdown]
                    [--can-reboot]
                    [--can-boot]
                    [--can-console]
                    [--can-graph]
                    [--can-view]
                    [--can-run]
                    [--can-pass]
                    [--can-domains]
                    [--can-update]
                    [--can-script]
                    [--can-pause]
                    [--can-reset]
                    [--can-create]
                    [--can-add]
                    [--can-empty]
                    [--can-delete]
                    [--can-advanced]
                    [--can-ips]
                    [--can-ifaces]
                    [--can-realifaces]
                    [--can-reverse]
                    [--can-limits]
                    [--can-vcpus]
                    [--can-ioclass]
                    [--can-disks]
                    [--can-devices]
                    [--can-sshkeys]
                    [--can-backup]
                    [--can-webmin]
                    [--can-virtualmin]
                    [--can-api]
                    [--can-storage]
                    [--can-snapshot]
                    [--can-mount]
                    [--can-groups]
                    [--can-rate]
                    [--host-mode mem|disk|rand|location | --no-host-mode]
                    [--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]