diff --git a/lib/exec/init b/lib/exec/init index b0613f1..fd84ca0 100755 --- a/lib/exec/init +++ b/lib/exec/init @@ -132,12 +132,12 @@ $verbose && msg "Guardando el archivo de host con los demás nodos" mkdir -p "${RAP_HOSTS}" cp -f "${nodefile}" "${RAP_HOSTS}" -# Chequeamos si hay hook para post comando -run_post_script - # Instalar el terminar $install && ${RAP} install ${NODE} msg "El nodo se ha creado con éxito" +# Chequeamos si hay hook para post comando +run_post_script + exit 0 diff --git a/lib/hooks/comun/post-init b/lib/hooks/comun/post-init index 1774101..5f35ea9 100755 --- a/lib/hooks/comun/post-init +++ b/lib/hooks/comun/post-init @@ -1,3 +1,4 @@ ${RAP} connectto ${NODE} abyayala ${RAP} publish -u http://comun.abyaya.la ${NODE} ${RAP} install-script ${NODE} tinc dhcpcd +${RAP} install ${NODE}