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