edge_stack/temp_edge_device.sh

11 lines
225 B
Bash
Raw Normal View History

2022-07-29 06:59:10 +00:00
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