Replace deprecated vmware-detect with virt-what/imvirt
authorMichael Prokop <mika@grml.org>
Fri, 1 Sep 2023 11:57:49 +0000 (13:57 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 1 Sep 2023 11:57:49 +0000 (13:57 +0200)
commitb39d89f0db161916b1acbda58f99604f6f2d724d
tree218e749e36ae4d8259b8c93583eb2617eae1e2a7
parent177696e68cb82a7877e0cc5cd1beddcdd53e7026
Replace deprecated vmware-detect with virt-what/imvirt

As of git commit 0c1cd5d0cbee in grml-scripts we no longer ship our
vmware-detect binary, so instead rely on virt-what and imvirt.

Output of virt-what executed inside a VM on a VMware cluster is `vmware`
and `VMware ESX server` for imvirt.

Thanks: Christoph Biedl and AndrĂ¡s Korn for feedback
autoconfig.functions