Commit 07ba9a82 by Kevin Falcone

If you picked 16.04 from the dropdown, we'd skip the userdata

This means no python, and no build.  Instead, only zero out the
userdata when doing full_edx_installation which assumes a pre-built AMI.

Fix a comment about 12.04
parent 7ebb6d4c
......@@ -333,8 +333,8 @@ elb: $elb
EOF
if [[ $server_type != "full_edx_installation_from_scratch" ]]; then
extra_var_arg+=' -e instance_userdata="" -e launch_wait_time=0'
if [[ $server_type == "full_edx_installation" ]]; then
extra_var_arg+=' -e instance_userdata="" -e launch_wait_time=0'
fi
# run the tasks to launch an ec2 instance from AMI
cat $extra_vars_file
......@@ -355,7 +355,7 @@ for role in $roles; do
deploy[$role]=${!role}
done
# If reconfigure was selected or if starting from an ubuntu 12.04 AMI
# If reconfigure was selected or if starting from an ubuntu 16.04 AMI
# run non-deploy tasks for all roles
if [[ $reconfigure == "true" || $server_type == "full_edx_installation_from_scratch" ]]; then
cat $extra_vars_file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment