Files
loc_az_hci/docs/temporary/ADD_DISK_FROM_IMAGE.md
defiQUG c39465c2bd
Some checks failed
Test / test (push) Has been cancelled
Initial commit: loc_az_hci (smom-dbis-138 excluded via .gitignore)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 09:04:46 -08:00

1.7 KiB

Add Disk from Cloud Image - Step by Step

Current Status

Image is visible in: Storage → local → ISO Images Image name: ubuntu-24.04-server-cloudimg-amd64.img

Steps to Add Disk

  1. Go to VM 9000 → Hardware tab

  2. Click "Add" → "Hard Disk"

  3. In the "Add: Hard Disk" dialog:

    • Storage: Select local
    • Look for one of these options:
      • "Import from" dropdown
      • "Use existing disk"
      • File browser icon (folder icon)
    • Select: ubuntu-24.04-server-cloudimg-amd64.img
    • Disk size: 20 GiB
    • Click "Add"

Option 2: If Import Option Not Available

If you don't see an import option in the Hard Disk dialog:

  1. Go to Storage → local → Import tab

    • This might allow importing the image as a disk format
  2. Or use the file path directly:

    • The image is at: /var/lib/vz/template/iso/ubuntu-24.04-server-cloudimg-amd64.img
    • Some Proxmox versions allow entering this path directly

Option 3: Manual Disk Creation

If the above don't work:

  1. Create a new disk:

    • Storage: local
    • Size: 20 GiB
    • Format: qcow2
  2. Then copy the image to the disk:

    • This requires command-line access to Proxmox host
    • Or use the Import feature in Storage

After Disk is Added

  1. Remove CD-ROM (ide2) if it still exists
  2. Verify disk is scsi0 (not ide2)
  3. Configure Cloud-Init:
    • Options → Cloud-Init
    • User: ubuntu
    • SSH Public Keys: (paste your key)
  4. Convert to Template:
    • Right-click VM 9000 → Convert to Template

Quick Check

After adding the disk, verify in Hardware tab:

  • scsi0: Should show the cloud image (20GB)
  • ide2: Should be removed (no CD-ROM)