Thomas Vachuska | 0fdf7c9 | 2016-05-05 17:01:39 -0700 | [diff] [blame] | 1 | #!/bin/bash |
2 | # Destroys an LXC cell with the specified name. | ||||
3 | |||||
4 | name=$1 | ||||
5 | |||||
6 | cd $(dirname $0) | ||||
7 | |||||
Thomas Vachuska | e91541f | 2016-05-05 23:15:41 -0700 | [diff] [blame] | 8 | ./destroy-node $name-n |
Thomas Vachuska | 0fdf7c9 | 2016-05-05 17:01:39 -0700 | [diff] [blame] | 9 | |
10 | for n in {1..3}; do | ||||
11 | ./destroy-node $name-$n | ||||
12 | done |