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

feat: Add port option to get a fixed internal ip

This will resolve rc/hpc-factory#181
parent 91c02c78
No related branches found
No related tags found
No related merge requests found
...@@ -311,7 +311,9 @@ deploy_login_node: ...@@ -311,7 +311,9 @@ deploy_login_node:
cmd+=" --network $INSTANCE_NETWORK" cmd+=" --network $INSTANCE_NETWORK"
cmd+=" --security-group allow-ssh" cmd+=" --security-group allow-ssh"
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"
- export LOGIN_INSTANCE_ID=$(bash -c "$cmd") - export LOGIN_INSTANCE_ID=$(bash -c "$cmd")
- | - |
......
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