Create a Debian VM in Proxmox VE
This article shows the installation of a virtual machine with Debian 12 on a Proxmox VE 8.1 system. The VM installed in this way can also be used as the basis for a cloud-init template if the cloud-init package is also installed in the VM.[1]
Create virtual machine
-
Log in to the Proxmox VE web interface and click on Create VM.
-
Select a name for the VM and click on Advanced if you want to see the advanced options.
-
Click on Next.
-
Select the desired ISO image (see also Proxmox upload ISO image) for the installation.
-
Click on Next.
-
If necessary, adjust the system options and click on Next.
-
Select the desired size of the virtual drive and click on Next.
-
Check the selected CPU type and click on Next.
-
Select the desired size of the working memory and click on Next.
-
Select the desired network and click on Next.
-
Check the settings and click on Finish.
Install Debian on the guest system
-
Select the VM you have just created on the left and click on Start.
-
Click on Console.
-
The Debian Installer starts. You can now follow most of the installation as shown in Installing Debian.
-
This screenshot shows the virtual drive for the installation.
-
The installation is complete.
-
The virtual machine with Debian is now started.
Install qemu-guest-agent
Finally, install the qemu-guest-agent in the virtual machine:[2]
sudo apt install qemu-guest-agent systemctl start qemu-guest-agent systemctl enable qemu-guest-agent
In order for this to be used by Proxmox, activate the agent by selecting the Use QEMU Guest Agent option:
References
- ↑ Cloud-Init Support (pve.proxmox.com)
- ↑ Qemu-guest-agent (pve.proxmox.com)
|
Author: Werner Fischer Werner Fischer, working in the Knowledge Transfer team at Thomas-Krenn, completed his studies of Computer and Media Security at FH Hagenberg in Austria. He is a regular speaker at many conferences like LinuxTag, OSMC, OSDC, LinuxCon, and author for various IT magazines. In his spare time he enjoys playing the piano and training for a good result at the annual Linz marathon relay.
|

