vmctl up
Bring up VMs defined in VMFile.kdl.
Synopsis
vmctl up [OPTIONS]
Options
| Option | Type | Default | Description |
|---|---|---|---|
--file | path | Path to VMFile.kdl (auto-discovered if omitted) | |
--name | string | Only bring up a specific VM | |
--no-provision | flag | false | Skip provisioning steps |
Details
For each VM in the VMFile:
- If the VM is already running, it is skipped.
- If the VM exists but is stopped, it is restarted and re-provisioned.
- If the VM doesn't exist, it is created, started, and provisioned.
Images are downloaded and cached as needed. SSH keys are auto-generated when cloud-init is configured without an explicit key.
Examples
# Bring up all VMs in ./VMFile.kdl
vmctl up
# Bring up a specific VM
vmctl up --name webserver
# Bring up without provisioning
vmctl up --no-provision
# Use a specific VMFile
vmctl up --file path/to/VMFile.kdl