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:37:35 UTC
svn commit: r1132071 - /incubator/mesos/trunk/ec2/mesos_ec2.py
Author: benh
Date: Sun Jun 5 08:37:34 2011
New Revision: 1132071
URL: http://svn.apache.org/viewvc?rev=1132071&view=rev
Log:
Bug fix
Modified:
incubator/mesos/trunk/ec2/mesos_ec2.py
Modified: incubator/mesos/trunk/ec2/mesos_ec2.py
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/ec2/mesos_ec2.py?rev=1132071&r1=1132070&r2=1132071&view=diff
==============================================================================
--- incubator/mesos/trunk/ec2/mesos_ec2.py (original)
+++ incubator/mesos/trunk/ec2/mesos_ec2.py Sun Jun 5 08:37:34 2011
@@ -236,9 +236,9 @@ def setup_cluster(conn, master_res, slav
print "Deploying files to master..."
deploy_files(conn, "deploy." + opts.os, master_res.instances[0],
opts, master_res, slave_res, zoo_res)
+ master = master_res.instances[0].public_dns_name
if deploy_ssh_key:
print "Copying SSH key %s to master..." % opts.identity_file
- master = master_res.instances[0].public_dns_name
ssh(master, opts, 'mkdir -p /root/.ssh')
scp(master, opts, opts.identity_file, '/root/.ssh/id_rsa')
print "Running setup on master..."