mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-15 01:11:30 +02:00
12 lines
224 B
Bash
Executable File
12 lines
224 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Destroys ONOS cluster running as ONOS docker images
|
|
SSH_KEY=$(cut -d\ -f2 ~/.ssh/id_rsa.pub)
|
|
|
|
for i in {1..3}; do
|
|
echo "Destroying onos-$i..."
|
|
docker stop onos-$i
|
|
done
|
|
|
|
docker container prune --force
|