From 806c640b041e4ac7c9227049ddfe78d41f1eb98d Mon Sep 17 00:00:00 2001 From: Adolfo Delorenzo Date: Fri, 29 Jul 2022 08:59:10 +0200 Subject: [PATCH] Add 'temp_edge_device.sh' --- temp_edge_device.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 temp_edge_device.sh diff --git a/temp_edge_device.sh b/temp_edge_device.sh new file mode 100644 index 0000000..f89e53e --- /dev/null +++ b/temp_edge_device.sh @@ -0,0 +1,11 @@ +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 \ No newline at end of file