You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 10:31:09 UTC
svn commit: r1132064 - in
/incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2: mesos-daemon
start-mesos
Author: benh
Date: Sun Jun 5 08:31:08 2011
New Revision: 1132064
URL: http://svn.apache.org/viewvc?rev=1132064&view=rev
Log:
Further fixes of copy-paste bugs
Modified:
incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/mesos-daemon
incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/start-mesos
Modified: incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/mesos-daemon
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/mesos-daemon?rev=1132064&r1=1132063&r2=1132064&view=diff
==============================================================================
--- incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/mesos-daemon (original)
+++ incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/mesos-daemon Sun Jun 5 08:31:08 2011
@@ -22,14 +22,14 @@ if [ "$PROGRAM" == "mesos-slave" ]; then
# Compute CPU resources (if not specified).
if [[ "$*" != *--cpus* ]]; then
CPUS=`grep processor /proc/cpuinfo | wc -l`
- EXTRA_OPTS="$EXTRA_OPTS --cpus $CPUS"
+ EXTRA_OPTS="$EXTRA_OPTS --cpus=$CPUS"
fi
# Compute memory resources (if not specified).
if [[ "$*" != *--mem* ]]; then
MEM_KB=`cat /proc/meminfo | grep MemTotal | awk '{print $2}'`
MEM=$[(MEM_KB - 1024 * 1024) / 1024]
- EXTRA_OPTS="$EXTRA_OPTS --mem $MEM"
+ EXTRA_OPTS="$EXTRA_OPTS --mem=$MEM"
fi
fi
Modified: incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/start-mesos
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/start-mesos?rev=1132064&r1=1132063&r2=1132064&view=diff
==============================================================================
--- incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/start-mesos (original)
+++ incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/start-mesos Sun Jun 5 08:31:08 2011
@@ -65,13 +65,13 @@ MEM=''
# read -p "Please specify the number of cpus per slave: " CPUS
# done
#
-# CPUS="--cpus $CPUS"
+# CPUS="--cpus=$CPUS"
#
# while [[ "$MEM" == '' ]] ; do
# read -p "Please specify the amount of memory per slave: " MEM
# done
#
-# MEM="--mem $MEM"
+# MEM="--mem=$MEM"
#else
# COUNT='1'
# echo