I´m using in the provisiong templates an entry to automate the installation
of the guest driver for VM´s on oVirt & VMWare. My Problem is that for some
reason its only working for "Ovirt as Compute Resource" all others are
failing (see below), I would be happy if someone can give me a hint what
could be the root cause and how to fix it…
Results:
oVirt (Discovery) = no entry inside auto-generated Kickstart File
oVirt (Compute Resource) = ok
VMware (Compute Resource) = no entry inside auto-generated Kickstart File
VMware (Discovery) = no entry inside
inside my templates:
install ovirt-guest-agent for oVirt (Discovery)
<% if @host.model == "oVirt Node" -%>
yum -y install ovirt-guest-agent-common
systemctl enable ovirt-guest-agent.service
<% end -%>
install ovirt-guest-agent for oVirt (Compute Resource)
<% if @host.provider == "oVirt" -%>
yum -y install ovirt-guest-agent-common
systemctl enable ovirt-guest-agent.service
<% end -%>
install ovirt-guest-agent for VMware (Discovery)
<% if @host.model == "VMware Virtual Platform" -%>
yum -y install open-vm-tools
systemctl enable vmtoolsd.service
<% end -%>
install ovirt-guest-agent for VMware (Compute Resource)
<% if @host.provider == "VMware Virtual Platform" -%>
yum -y install open-vm-tools
systemctl enable vmtoolsd.service
<% end -%>
thx,
Christian