dashboard/docs/management-cmd.md

622 B

Manage Virtual Machines

1. Create VM: Creates a new VM, bypasing payments

Pre-requisites:

  1. A registered and active/email-verified user

Example:

python manage.py vm create <VM-name> --owner=<owner-username> --flavor=<flavor>
# flavor=[small,medium,large]

This command is not idempotent. The command throws an error when a supplied flavor is not available or when a VM with the same name exists.

2. Delete VM:

Example

python manage.py vm delete <VM-name>

This command is not idempotent. The command throws an error when a a VM with the given name doesn't exist.