aboutsummaryrefslogtreecommitdiff
path: root/ec2/spark_ec2.py
diff options
context:
space:
mode:
Diffstat (limited to 'ec2/spark_ec2.py')
-rwxr-xr-xec2/spark_ec2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py
index 77a246fffe..ddd72a0f86 100755
--- a/ec2/spark_ec2.py
+++ b/ec2/spark_ec2.py
@@ -458,7 +458,8 @@ def launch_cluster(conn, opts, cluster_name):
placement=opts.zone,
min_count=1,
max_count=1,
- block_device_map=block_map)
+ block_device_map=block_map,
+ user_data=user_data_content)
master_nodes = master_res.instances
print "Launched master in %s, regid = %s" % (zone, master_res.id)