Some checks failed
Test / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
1.7 KiB
1.7 KiB
Complete Hard Disk Configuration
In the "Add: Hard Disk" Dialog
Step 1: Select Storage
- Storage dropdown: Select "local"
- This should populate the storage options
Step 2: Import from Cloud Image
After selecting storage, you should see an option to:
- "Import from" or "Use existing disk" or "Import disk"
- Select:
ubuntu-24.04-server-cloudimg-amd64.img
If you don't see the import option:
- The image might be in a different location
- Check: Storage → local → Content tab
- Look for
ubuntu-24.04-server-cloudimg-amd64.img - It should be in the "ISO images" or "Disk images" section
Step 3: Disk Size
- Disk size (GiB): Set to 20 (minimum for template)
- This is the minimum size; VMs cloned from template can be resized
Step 4: Other Settings
- Bus/Device: SCSI 0 (default is fine)
- Cache: Default (No cache) - OK
- IO thread: Checked - Good (leave it)
- Discard: Unchecked - OK
Step 5: Click Add
- Click the blue "Add" button
- The disk will be added from the cloud image
After Adding Disk
-
Remove the CD-ROM (ide2) if it's still there:
- Hardware tab → CD/DVD Drive → Remove
-
Configure Cloud-Init:
- Options tab → Cloud-Init
- User:
ubuntu - SSH Public Keys: (paste your key)
-
Convert to Template:
- Right-click VM 9000 → Convert to Template
Troubleshooting
If "Import from" option doesn't appear:
- The image file might be in the wrong storage location
- Try: Storage → local → Upload (if not already uploaded)
- Or check if image is in:
/var/lib/vz/template/iso/
If storage dropdown is empty:
- Check Proxmox storage configuration
- Ensure "local" storage is available
- Try refreshing the page