Closed greenseeker closed 1 year ago
Hi, I've referenced the ticket in my commit since it's the same mistake. :)
xslt
is a string that must be assigned with the content of your XSLT, not the filename. You need to change this:
xml {
xslt = "win2016-hyperv-enlightenments.xsl"
}
into this
xml {
xslt = file("win2016-hyperv-enlightenments.xsl")
}
@alexandre-janniaux, thanks, that did the trick.
I didn't have installed xsltproc in the horchestrator... Nice! Thanks.
System Information
Linux distribution
Debian 11 (terraform) Almalinux 9.1 (kvm)
Terraform version
1.3.2
Provider and libvirt versions
registry.terraform.io/dmacvicar/libvirt v0.7.1 libvirt-8.5.0-7.3.el9_1.x86_64
Description of Issue/Question
I'm trying to utilize XSLT to enable HyperV enlightenments on my Windows VMs but this causes apply failure.
Setup
compiled tf files:
Steps to Reproduce Issue
terraform apply
error:Full
terraform apply
output here: https://pastebin.com/GEPnDLF6xsltproc
is installed on both the KVM host and the terraform system. In fact, I used it to validate my xsl sheet before adding it to my project.win2016-hyperv-enlightenments.xsl:
Additional information:
I've disabled both apparmor and selinux for testing, but saw no difference.