Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mongo-scripts/start-mongo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ else
ctx logger info "Skipping, jq already installed"
fi

IP_ADDR=$(ip addr | grep inet | grep eth0 | awk -F" " '{print $2}'| sed -e 's/\/.*$//')
IP_ADDR=$(ctx instance host_ip)
ctx logger info "About to post IP address ${IP_ADDR} and port ${port}"

ctx instance runtime-properties port ${port}
Expand Down
5 changes: 1 addition & 4 deletions singlehost-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,15 @@ inputs:
host_ip:
description: >
The ip of the host the application will be deployed on
default: 127.0.0.1

agent_user:
description: >
User name used when SSH-ing into the started machine
default: vagrant

agent_private_key_path:
description: >
Path to a private key that resided on the management machine.
SSH-ing into agent machines will be done with this key.
default: /home/vagrant/.ssh/agent_key.pem

node_types:

Expand Down Expand Up @@ -132,7 +129,7 @@ outputs:
endpoint:
description: Web application endpoint
value:
ip_address: { get_attribute: [ vm, ip ] }
ip_address: { get_property: [ vm, ip ] }
port: { get_property: [ nodecellar_app, base_port ] }


Expand Down