summaryrefslogtreecommitdiffstats
path: root/core/modules/vmware12
diff options
context:
space:
mode:
authorJonathan Bauer2018-05-04 16:38:17 +0200
committerJonathan Bauer2018-05-04 16:38:17 +0200
commit718a68bf8060c17c602d73085bc5b2ca3a643c26 (patch)
treea2508dacf4d5e0176bcebb6802452e5f54d268e3 /core/modules/vmware12
parent[vmware*] proper quoting... (diff)
downloadmltk-718a68bf8060c17c602d73085bc5b2ca3a643c26.tar.gz
mltk-718a68bf8060c17c602d73085bc5b2ca3a643c26.tar.xz
mltk-718a68bf8060c17c602d73085bc5b2ca3a643c26.zip
[*virt*] fix vmware VM only having 1 core...
Diffstat (limited to 'core/modules/vmware12')
-rw-r--r--core/modules/vmware12/data/opt/openslx/vmchooser/plugins/vmware/includes/determine_hardware_limitations.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/vmware12/data/opt/openslx/vmchooser/plugins/vmware/includes/determine_hardware_limitations.inc b/core/modules/vmware12/data/opt/openslx/vmchooser/plugins/vmware/includes/determine_hardware_limitations.inc
index c288ed09..ce929230 100644
--- a/core/modules/vmware12/data/opt/openslx/vmchooser/plugins/vmware/includes/determine_hardware_limitations.inc
+++ b/core/modules/vmware12/data/opt/openslx/vmchooser/plugins/vmware/includes/determine_hardware_limitations.inc
@@ -174,7 +174,7 @@ set_vm_hardware_limits() {
MAXCORES="1"
;;
esac
-
+ declare -rg CPU_CORES="${HW_THREADS:-1}"
declare -rg HOST_CORE_COUNT="$CPU_CORES"
[ "$CPU_CORES" -gt "$MAXCORES" ] && CPU_CORES="$MAXCORES"