diff --git a/lib/exec/publish b/lib/exec/publish index b738b1b..9971d88 100755 --- a/lib/exec/publish +++ b/lib/exec/publish @@ -39,7 +39,7 @@ nodename="$(get_node_name "${1:-$HOSTNAME}")" nodefile="$(get_node_file "${1}")" msg "Mandando archivo de nodo" -url="${KEYSERVER}/${nodename}" +url="${KEYSERVER}/${NETWORK}/${nodename}" $verbose && msg "Url: %s. Archivo de host %s" "*${url}*" "*${nodefile}*" respcode=$(curl -sL -o /dev/null -w "%{http_code}" -F "host=@${nodefile}" "${url}") $verbose && msg "Response code: %s" "*${respcode}*"