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
2 merge requests!176feat: Add a way to define multiple security groups,!117This MR merges the feat-hpc-factory branch, which was focused on building and deploying proxy images for the COD cluster.
...@@ -309,7 +309,10 @@ deploy_login_node: ...@@ -309,7 +309,10 @@ deploy_login_node:
cmd+=" -c id -f value --image $LOGIN_IMAGE_ID" cmd+=" -c id -f value --image $LOGIN_IMAGE_ID"
cmd+=" --flavor $INSTANCE_FLAVOR" cmd+=" --flavor $INSTANCE_FLAVOR"
cmd+=" --network $INSTANCE_NETWORK" 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" cmd+=" --user-data user_data.txt"
if [ -n "$LOGIN_PORT" ];then cmd+=" --port $LOGIN_PORT"; fi if [ -n "$LOGIN_PORT" ];then cmd+=" --port $LOGIN_PORT"; fi
cmd+=" --wait $LOGIN_INSTANCE_NAME" 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