aboutsummaryrefslogtreecommitdiff
path: root/kvm-creator
diff options
context:
space:
mode:
authorJamie McClelland <jm@mayfirst.org>2009-10-08 20:21:56 -0400
committerJamie McClelland <jm@mayfirst.org>2009-10-08 20:21:56 -0400
commit3f4c4b22ee9a37a4ef9de51a7e830ae8b923dd28 (patch)
tree9f92ceafc260b182bc08a6d3060b1a675efd4726 /kvm-creator
parentd1ef7281dcdd0a29a462d839fec80c3a473e59a2 (diff)
downloadkvm-manager-3f4c4b22ee9a37a4ef9de51a7e830ae8b923dd28.tar.gz
kvm-manager-3f4c4b22ee9a37a4ef9de51a7e830ae8b923dd28.tar.bz2
make the name of the volume group a parameter to be passed rather than
hard coded (missed the changes to the kvm-creator script on last commit).
Diffstat (limited to 'kvm-creator')
-rwxr-xr-xkvm-creator2
1 files changed, 0 insertions, 2 deletions
diff --git a/kvm-creator b/kvm-creator
index 6162241..7847198 100755
--- a/kvm-creator
+++ b/kvm-creator
@@ -15,8 +15,6 @@ RAM="${4:-512}"
TAP="${5:-$(( $( cat /etc/sv/kvm/*/env/TAP | sed 's/^tap//' | sort -n | tail -n 1 ) + 1 ))}"
MAC="${6:-$(cat /etc/sv/kvm/*/env/MAC | head -n1 | cut -f 1-5 -d: ):$(( $( cat /etc/sv/kvm/*/env/MAC | cut -f 6 -d: | sort -n | tail -n 1 ) + 1 ))}"
-VG=vg_malty0
-
destroy() {
update-service --remove "/etc/sv/kvm/$NAME"