Custom ISO in proxmox

Custom iso in proxmox

steps to custom iso in proxmox

10 Oct 2024

proxmox

In this article, I want to share how to custom iso in proxmox

1. Installation & Configuration

Here are the steps to custom ISO on Proxmox:

Login to Proxmox Web:

Open your web browser and access Proxmox web using the IP address or hostname of your Proxmox server. Make sure to enter the appropriate credentials to log in.

Create VM:

On the top right corner of the web, click Create VM, then enter the VM ID and VM Name to be used. Note and remember the VM ID because we will use it in the next steps.

Local Image

Operation System:

In the OS section, make sure you select “Do not use any media” because we will add storage later with some additional configurations.

Local Image

System:

In the system section leave all the default options, except the Qemu Agent section, make sure you enable it.

Local Image

Disk:

Next in the Disk section make sure you delete it by clicking the Trash icon and proceed to the next step, don't worry because later we will add the disk separately. Next set the CPU and Memory sections according to your needs.

Local Image

CPU:

Next in CPU, adjust the number of cores you need and select the type of processor you will use.

Local Image

Memory:

Next in Memory, enter the amount of memory you will use.

Local Image

Network:

Select the network to be used according to your needs. Then next and confirm.

Local Image

Confirm:

Make sure the VM data is correct and click the finish button

Local Image

2. Download ISO File

Url file iso in Link

first steps

  • select local storage (pve)
  • select the ISO Images menu

Local Image

  • select download from url Local Image
  • image file successfully downloaded Local Image

3. Import file iso to vm

first step

  • select pve
  • select shell menu for show terminal

Local Image

  • to see the results of the downloaded iso via the proxmox shell

Local Image

to import the iso file into vm, use the following command

qm importdisk vm_id location_iso local-lvm --format qcow2

Here is an example of its use, adjust the vm_id and the url of the iso file

Local Image

And then run this command

qm set 105 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-105-disk-1

4. How to activate a disk that has been imported into a VM

  • check the imported disk

Local Image

  • enable disk

select disk and click add button

Local Image

5. Enable boot order

first step

  • select Options
  • select Boot Order

Local Image

  • double click and check disk like image

Local Image

6. Add Cloudinit Driver

first step

  • select hardware
  • select add
  • select CloudInit Drive

Local Image

  • double click and presh button add like image

Local Image

7. Config CloudInit

first step

  • select Cloud-init

adjust the needs as shown in the picture

Local Image

8. Tes Run VM

first step

  • select console
  • select button start now

Local Image

9. Enable login with SSH Password

run command like in picture Local Image

save config and shutdown vm Local Image

run this command for shutdown vm

    poweroff

10. Convert VM to Template

first step

  • select vm
  • right click on vm
  • select convert on template and dialog show like picture

Local Image

  • select button yes for process convert to template Local Image
  • If the conversion is complete, the VM logo will change as shown in the picture.

Local Image

finish, finally the custom iso configuration is complete, this way you can create a vm in just minutes. have you proven it ????

So that I can be more enthusiastic about writing, please treat me Trakteer Saya