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:40:27 UTC

svn commit: r1132094 - in /incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2: setup setup-slave

Author: benh
Date: Sun Jun  5 08:40:27 2011
New Revision: 1132094

URL: http://svn.apache.org/viewvc?rev=1132094&view=rev
Log:
Make rm's quiet if known_hosts does not exist

Modified:
    incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup
    incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup-slave

Modified: incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup?rev=1132094&r1=1132093&r2=1132094&view=diff
==============================================================================
--- incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup (original)
+++ incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup Sun Jun  5 08:40:27 2011
@@ -14,7 +14,7 @@ echo "Setting up Mesos master on `hostna
 
 # Remove ~/.ssh/known_hosts because it gets polluted as you start/stop many
 # clusters (new machines tend to come up under old hostnames)
-rm /root/.ssh/known_hosts
+rm -f /root/.ssh/known_hosts
 
 # Read command-line arguments
 OS_NAME=$1

Modified: incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup-slave
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup-slave?rev=1132094&r1=1132093&r2=1132094&view=diff
==============================================================================
--- incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup-slave (original)
+++ incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup-slave Sun Jun  5 08:40:27 2011
@@ -70,4 +70,4 @@ fi
 
 # Remove ~/.ssh/known_hosts because it gets polluted as you start/stop many
 # clusters (new machines tend to come up under old hostnames)
-rm /root/.ssh/known_hosts
+rm -f /root/.ssh/known_hosts