summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmchooser/XX_vmchooser.sh
diff options
context:
space:
mode:
authorMichael Janczyk2009-11-04 16:17:56 +0100
committerMichael Janczyk2009-11-04 16:17:56 +0100
commit8dab32fa94b5aa3d4a1a0f21bde35bdc8e32ef76 (patch)
treed3d5c9ffbd334e56991a9351230d542ff6c927cd /os-plugins/plugins/vmchooser/XX_vmchooser.sh
parentupdate vmchooser to 0.0.13 (new base paths) (diff)
downloadcore-8dab32fa94b5aa3d4a1a0f21bde35bdc8e32ef76.tar.gz
core-8dab32fa94b5aa3d4a1a0f21bde35bdc8e32ef76.tar.xz
core-8dab32fa94b5aa3d4a1a0f21bde35bdc8e32ef76.zip
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3197 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmchooser/XX_vmchooser.sh')
-rw-r--r--os-plugins/plugins/vmchooser/XX_vmchooser.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/os-plugins/plugins/vmchooser/XX_vmchooser.sh b/os-plugins/plugins/vmchooser/XX_vmchooser.sh
index 7f8096c3..d3ade116 100644
--- a/os-plugins/plugins/vmchooser/XX_vmchooser.sh
+++ b/os-plugins/plugins/vmchooser/XX_vmchooser.sh
@@ -72,7 +72,7 @@ if [ -e $CONFFILE ]; then
CPU_CORES=$(grep 'processor.*:' /proc/cpuinfo | wc -l)
if [ "${CPU_CORES}" -gt "1" 2>/dev/null ]; then
- echo 'cpu_cores="${CPU_CORES}")' >>${PLUGINCONFDIR}/run-virt.include
+ echo "cpu_cores=\"${CPU_CORES}\"" >>${PLUGINCONFDIR}/run-virt.include
else
echo 'cpu_cores="1"' >>${PLUGINCONFDIR}/run-virt.include
fi