summaryrefslogtreecommitdiffstats
path: root/core/modules/vmware-common/data
diff options
context:
space:
mode:
authorSimon Rettberg2024-05-23 16:32:00 +0200
committerSimon Rettberg2024-05-23 16:32:00 +0200
commit7359f61fc04981ccef48fccee299e14a6066ce4b (patch)
tree6cefa55b72b9dd7dd58cd1988d9c7a02eccaf754 /core/modules/vmware-common/data
parent[systemd] Remove module (diff)
downloadmltk-7359f61fc04981ccef48fccee299e14a6066ce4b.tar.gz
mltk-7359f61fc04981ccef48fccee299e14a6066ce4b.tar.xz
mltk-7359f61fc04981ccef48fccee299e14a6066ce4b.zip
Big round of cleanup
- Remove a lot of TODOs, either by fixing them or because they became irrelevant - Change all git:// to https:// - Move hwreport and hwinfo from /run to /run/openslx - Minor script style cleanups - Remove dead code and functions in various scripts
Diffstat (limited to 'core/modules/vmware-common/data')
-rw-r--r--core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc
index 8df1ad9f..40675524 100644
--- a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc
+++ b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc
@@ -290,10 +290,10 @@ setup_graphics() {
finalize_hardware() {
# Enable nested virtualization if not specified in remote vmx
- if [ -e "/run/hwinfo" ] && ! grep -qi '^vhv\.enable' "${TMPCONFIG}" \
+ if [ -e "/run/openslx/hwinfo" ] && ! grep -qi '^vhv\.enable' "${TMPCONFIG}" \
&& detect_cpu_flag "ept" "npt" \
&& [ "$VM_HW_VERSION" -ge "9" ]; then
- . "/run/hwinfo"
+ . "/run/openslx/hwinfo"
[ "${HW_KVM}" = "ENABLED" ] && echo 'vhv.enable = "TRUE"' >> "${TMPCONFIG}"
fi