Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos
/
c2403592cb8bca17e503efd6fdf25b15303960c7
/
.
/
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