Skip to content
Snippets Groups Projects
Commit 0685dcb8 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

feat: Add a way to define multiple security groups

Closes #203
parent 91c02c78
No related branches found
No related tags found
No related merge requests found
......@@ -309,7 +309,10 @@ deploy_login_node:
cmd+=" -c id -f value --image $LOGIN_IMAGE_ID"
cmd+=" --flavor $INSTANCE_FLAVOR"
cmd+=" --network $INSTANCE_NETWORK"
cmd+=" --security-group allow-ssh"
for security_group in ${SECURITY_GROUP_LIST[@]};
do
cmd+=" --security-group $security_group"
done
cmd+=" --user-data user_data.txt"
if [ -n "$LOGIN_PORT" ];then cmd+=" --port $LOGIN_PORT"; fi
cmd+=" --wait $LOGIN_INSTANCE_NAME"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment