projects
/
fusionforge
/
fusionforge.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Stop only stop the vm, detroy will destroy the vm
[fusionforge/fusionforge.git]
/
tests
/
lxc
/
destroy
1
#! /bin/sh -x
2
3
lxcdir=`dirname $0`
4
5
IFS=: ; VARS=`eval echo \\\$$BASEHOST` ; unset IFS ; set $VARS
6
VMENGINE=$1
7
TEMPLATE=$2
8
CIDR=$3
9
IPGW=$4
10
11
sudo /usr/bin/lxc-stop -n $HOST
12
sudo /usr/bin/lxc-destroy -n $HOST