dashboard/docs/management-cmd.md

29 lines
622 B
Markdown

## Manage Virtual Machines
### 1. Create VM: Creates a new VM, bypasing payments
#### Pre-requisites:
1. A registered and active/email-verified user
#### Example:
```bash
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
```bash
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.