Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos
/
6837293e1b9b23c01b3dd6a3ae204f9679160eb8
/
.
/
tools
/
tutorials
/
vm
/
destroyCluster
blob: 1ef04e22270571b78e1eedfdc83a6c28e1b9c709 [
file
] [
log
] [
blame
]
#!/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