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:19 UTC
svn commit: r1132093 -
/incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup
Author: benh
Date: Sun Jun 5 08:40:19 2011
New Revision: 1132093
URL: http://svn.apache.org/viewvc?rev=1132093&view=rev
Log:
Remove .ssh/known_keys in master setup script too
Modified:
incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup
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=1132093&r1=1132092&r2=1132093&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:19 2011
@@ -12,6 +12,10 @@ HOSTNAME=$PRIVATE_DNS # Fix the bash bu
echo "Setting up Mesos master on `hostname`..."
+# 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
+
# Read command-line arguments
OS_NAME=$1
DOWNLOAD_METHOD=$2