Configure cloudinit settings for virtual machines managed by Proxmox Virtual Environment (PVE). More information: https://pve.proxmox.com/pve-docs/qm.1.html.
qm cloud-init vm_id -user=user -password=password
qm cloud-init vm_id -user=user -password=password -sshkey=ssh_key
qm cloud-init vm_id -hostname=hostname
qm cloud-init vm_id -ipconfig ipconfig
cloud-ini
is run on a virtual machine:qm cloud-init vm_id -pre script