Create a Debian VM in Proxmox VE

From Thomas-Krenn-Wiki
Jump to navigation Jump to search

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

Install Debian on the guest system

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

  1. Cloud-Init Support (pve.proxmox.com)
  2. Qemu-guest-agent (pve.proxmox.com)


Foto Werner Fischer.jpg

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.


Related articles

Ceph - increase maximum recovery & backfilling speed
Install Proxmox VE
Proxmox VE USB installation media