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