Closed kingsleyck-ntnx closed 1 month ago
Hello @kingsleyck-ntnx can you share log of the build process please
i just test it with same packer + plugin version and updated OS 15.0, no issue on my side
I'm using cd_content for this use case because the file has to be retrieved first using the http data provider.
Example:
data "http" "ks" { url = "http://webhost/ks.cfg>" }
source "nutanix" "linux_iso" { .... cd_content = { "${var.template_dst_file}" = data.http.ks.body } .... }
This works on the linux plugin with no other code change.
duplicate #91
Root cause was using native hdiutil on MacOS to create the kickstart ISO. Use xorriso instead. Thanks @tuxtof for the assist.
/kind bug
What steps did you take and what happened:
I created a repo to build a source VM from Rocky Linux 8.8 using the minimal ISO. The kickstart file is created with cd_content specified. The ISO creates successfully and is also correctly attached to the VM. However, the VM behavior is incorrect. The VM boots into GUI setup ignoring the ks.cfg.
The exact same code functions correctly if it uses the Linux VM plugin, ex: packer-plugin-nutanix_v0.9.0_x5.0_linux_amd64
It appears there is a bug in the latest arm64 plugin.
What did you expect to happen:
VM should boot and start text based install using the supplied ks.cfg.
Anything else you would like to add:
N/A
Environment:
packer plugins installed
): packer-plugin-nutanix_v0.9.0_x5.0_darwin_arm64packer version
): v1.11.2/etc/os-release
): Sonoma 14.5