[ARVADOS] updated: c62a4ff13d31bf40e8262f4b8b029167fa5e17b0

git at public.curoverse.com git at public.curoverse.com
Fri Aug 21 10:08:29 EDT 2015


Summary of changes:
 doc/install/install-compute-node.html.textile.liquid | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  c62a4ff13d31bf40e8262f4b8b029167fa5e17b0 (commit)
      from  21f2d53a70dbf6ae04db07e163f4485e3af47478 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit c62a4ff13d31bf40e8262f4b8b029167fa5e17b0
Author: Ward Vandewege <ward at curoverse.com>
Date:   Fri Aug 21 10:08:10 2015 -0400

    Some more improvements based on review feedback.
    
    closes #6942

diff --git a/doc/install/install-compute-node.html.textile.liquid b/doc/install/install-compute-node.html.textile.liquid
index f648768..7eff16b 100644
--- a/doc/install/install-compute-node.html.textile.liquid
+++ b/doc/install/install-compute-node.html.textile.liquid
@@ -110,7 +110,7 @@ if ! test -f /root/node.json ; then
 import arvados, json, socket
 fqdn = socket.getfqdn()
 hostname, _, domain = fqdn.partition('.')
-ip_address = socket.gethostbyname(socket.gethostname())
+ip_address = socket.gethostbyname(fqdn)
 node = arvados.api('v1').nodes().create(body={'hostname': hostname, 'domain': domain, 'ip_address': ip_address}).execute()
 with open('/root/node.json', 'w') as node_file:
     json.dump(node, node_file, indent=2)
@@ -127,7 +127,7 @@ if ! test -f /etc/cron.d/node_ping ; then
     echo "*/5 * * * * root /usr/bin/curl -k -d ping_secret=$PING_SECRET https://$ARVADOS_API_HOST/arvados/v1/nodes/$UUID/ping" > /etc/cron.d/node_ping
 fi
 
-/usr/bin/curl -k -d ping_secret=$PING_SECRET https://api/arvados/v1/nodes/$UUID/ping?ping_secret=$PING_SECRET
+/usr/bin/curl -k -d ping_secret=$PING_SECRET https://$ARVADOS_API_HOST/arvados/v1/nodes/$UUID/ping?ping_secret=$PING_SECRET
 </code>
 </pre>
 </notextile>

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list