edge_stack/temp_edge_device.sh

11 lines
225 B
Bash

for i in {00..39}
do
pct clone 4444 50$i --full 1 --hostname temp-edge50$i
sleep 1
pct start 50$i
done
for i in {00..39}
do
pct exec 50$i -- bash -c "curl http://192.168.11.10/install_edge_agent-x86.sh | bash -"
done