Creating VMs
Create and manage virtual machines from your OpenFactory builds or custom ISOs.
Creating a VM
From OpenFactory Build
- Complete a build in OpenFactory
- Navigate to VM Management
- Click Create VM
- Select From Build
- Choose your build from the list
- Configure VM settings
- Click Create
From ISO
- Click Create VM
- Select From ISO
- Enter ISO URL or upload
- Configure VM settings
- Click Create
VM Configuration
Basic Settings
| Setting | Description | Default |
|---|---|---|
| Name | VM display name | build-name-timestamp |
| Description | Optional notes | - |
Resource Allocation
| Setting | Description | Default |
|---|---|---|
| Memory | RAM in MB | 2048 |
| vCPUs | Virtual CPU cores | 2 |
| Disk | Storage in GB | 20 |
Network Configuration
Select one or more networks:
| Network | Description |
|---|---|
| default | NAT network with internet |
| isolated | Private VM-only network |
| Custom | Your created networks |
Machine Types
Pre-configured templates for common use cases:
| Type | Memory | vCPUs | Disk | Use Case |
|---|---|---|---|---|
| Standard | 2 GB | 2 | 20 GB | General purpose |
| Lightweight | 1 GB | 1 | 10 GB | Testing, minimal |
| Performance | 4 GB | 4 | 40 GB | Development |
| High Memory | 8 GB | 2 | 20 GB | Memory-intensive |
VM Lifecycle
States
| State | Description |
|---|---|
| Stopped | VM is not running |
| Starting | VM is booting |
| Running | VM is operational |
| Stopping | VM is shutting down |
| Error | VM encountered an error |
Actions
| Action | Description | When Available |
|---|---|---|
| Start | Boot the VM | Stopped |
| Stop | Graceful shutdown | Running |
| Force Stop | Immediate termination | Running |
| Restart | Stop then start | Running |
| Delete | Remove VM and disk | Any |
Starting a VM
- Select the VM in topology or list
- Click Start
- Watch status change to “Starting”
- Wait for “Running” state
The boot process typically takes 30-60 seconds.
Stopping a VM
Graceful Shutdown
- Select the running VM
- Click Stop
- VM sends ACPI shutdown signal
- Guest OS shuts down cleanly
Force Stop
If graceful shutdown fails:
- Click Force Stop
- VM is immediately terminated
- May cause data loss
Deleting a VM
- Stop the VM if running
- Click Delete
- Confirm deletion
- VM and disk are removed
Warning: Deletion is permanent. All VM data is lost.
Bulk Operations
Select multiple VMs for bulk actions:
- Hold Shift/Ctrl and click VMs
- Or use checkbox selection
- Choose action from toolbar:
- Start All
- Stop All
- Delete Selected
VM Details Panel
Click a VM to view detailed information:
Overview
- Name and state
- Resource usage (CPU, Memory)
- Uptime
- IP addresses
Configuration
- vCPUs and memory
- Disk size and type
- Network interfaces
- Boot order
Actions
- Start/Stop buttons
- Console access
- Edit configuration
- Clone VM
- Delete
Logs
- Boot messages
- Serial console output
- Error logs
Cloning VMs
Create a copy of an existing VM:
- Select the VM
- Click Clone
- Enter new name
- Choose:
- Full clone (copies disk)
- Linked clone (shares base)
- Click Create
Snapshots
Save and restore VM state:
Create Snapshot
- Select running or stopped VM
- Click Create Snapshot
- Enter snapshot name
- Wait for completion
Restore Snapshot
- Select VM
- Go to Snapshots tab
- Select snapshot
- Click Restore
Delete Snapshot
- Select snapshot
- Click Delete
- Confirm deletion
Troubleshooting
VM Won’t Start
Check:
- Available resources (memory, disk space)
- ISO/image accessibility
- libvirt service running
Network Not Working
Verify:
- Network exists and is active
- VM interface configured correctly
- No IP conflicts
Performance Issues
Consider:
- Increase vCPUs/memory
- Check host resource usage
- Verify KVM acceleration enabled