#!/bin/bash

system_env_config(){
    for ip in ${IP_LIST[@]}
    do
        scp scripts/system-config.sh root@${ip}:/tmp/system-config.sh
        ssh root@${ip} "sh /tmp/system-config.sh && rm -rf /tmp/system-config.sh"
    done
}
