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