Image Provision Help

I recently installed the Proxmox plugin to help me deploy on my Proxmox evnironment. It seems to be working and deploying a VM and then doing a Bare Metal Install via PXE. I am now trying to get it to deploy from a template and image and then reconfigure the VM with the new hostname and IP address but the deployment only creates a new VM from the template but it doesn’t get reconfigured with the hostname/IP etc. I can’t seem to find clear documentation on what I am suppose to do and I am confused at how this works. Looking for guidance or documentation that may help direct me what I am doing wrong.

Expected outcome:
I expect that after creating a new host the copy of the VM will be made and reconfigured with the settings I set in the create host section

Foreman and Proxy versions:
Version 3.6.1

Foreman and Proxy plugin versions:

Name Description Author Version
foreman-tasks The goal of this plugin is to unify the way of showing task statuses across the Foreman instance. It defines Task model for keeping the information about the tasks and Lock for assigning the tasks to resources. The locking allows dealing with preventing multiple colliding tasks to be run on the same resource. It also optionally provides Dynflow infrastructure for using it for managing the tasks. Ivan Nečas 7.2.1
foreman_ansible Ansible integration with Foreman Daniel Lobato Garcia 11.2.0
foreman_fog_proxmox Foreman plugin adds Proxmox VE compute resource using fog-proxmox. It is compatible with Foreman 1.22+ Tristan Robert and The Foreman Team 0.14.0
foreman_puppet Allow assigning Puppet environments and classes to the Foreman Hosts. Ondřej Ezr and Shira Maximov 5.1.2
foreman_remote_execution A plugin bringing remote execution to the Foreman, completing the config management functionality with remote management functionality. Foreman Remote Execution team 9.1.0
katello Katello adds Content and Subscription Management to Foreman. For this it relies on Candlepin and Pulp. N/A 4.8.0

Distribution and version:
Rocky Linux 8.8

Other relevant data:

Hey @thinkdez

You can find the docs for Proxmox in Provisioning Virtual Machines in Proxmox in Provisioning Hosts. I believe my colleague Manisha is currently also working on deploying VMs on Proxmox using Cloud Init. Do you know if foreman_for_proxmox 0.14.0 supports this workflow? @MSinghal

Hi @maximilian. I have been provisioning via bare-metal that I haven’t looked into Cloud-init yet. However the more I read about it it seems to be the way to go. I think this is the information I am missing. I know Proxmox supports it and the plugin does make mention of it. What I think was unclear to me is that all the documentation I have read didn’t mention the prepartion of the template and what was required on that end. I am going to experiment with cloud-init and see how it integrates. Hopefully foreman will pass the variables to the cloud init drive in proxmox for deployment.