Closed Keltirion closed 1 month ago
Hi Lech,
The open-vm-tools
is excluded on the kickstart files of Generic Cloud images and is not installed by the Ansible packer provisioner. So, it is expected to not have it installed at all.
Can you build the image from the sources by commenting the line that open-vm-tools
excluded and add it to the list of installed packages?
Currently, I don't have any access to VMWare vSphere to try to reproduce the issue related to Cloud-init at the moment.
Hi i did create my own custom version with Packer and open-vm-tools now everything works.
@Keltirion ,
Thanks for the feedback. Can we say that including only open-vm-tools
package is enough to make Generic Cloud compatible with VMware vSphere? Can you share which else changes you have to made to make it work?
@LKHN I think so, I've used standard alma linux image not the generic cloud one, using kickstart i did the instalation of open-vm-tools and some config. AFIK open-vm-tools is need to report back to vsphere packer provisioner the ip of vm after first install. After that rest works fine.
I'm trying to use Alma 9.4 (same for Alma 8) Generic cloud image with vsphere and cloud-init but when i create sample vm seems like open-vm-tools is not running? My vsphere version is 7.0.3.01900
I'm passing cloud-init configuration with terraform but it does not work. Am I doing something wrong here? I can see it being added to the VM
and the contents are correct