fix: volver el post init al final e instalar dos veces por ahora

This commit is contained in:
fauno 2024-09-10 09:42:27 -03:00
parent e467bd04b9
commit ec4cd71e6e
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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}