infra-generale/supervision.sh

6 lines
140 B
Bash
Executable File

#!/bin/bash
ssh $1 < script_superv.sh
sudo sed -i "s/NAME=.*/NAME=$1/g" superv_script_isengard.sh
ssh isengard < superv_script_isengard.sh