diff --git a/personal/system/start_clients.sh b/personal/system/start_clients.sh new file mode 100644 index 0000000..e8a50b8 --- /dev/null +++ b/personal/system/start_clients.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +echo "Client Type: $1" +echo "Client IDs: $2" +client_string=$2 +client_list=() + +IFS=', ' read -a array <<< "${client_string}"; echo "${array[@]}" + +for index in "${!array[@]}" +do + echo "Starting container: ${array[index]}" + lxc-start ${array[index]} +done \ No newline at end of file