]> gitweb.fluxo.info Git - kvm-manager.git/commitdiff
make the name of the volume group a parameter to be passed rather than
authorJamie McClelland <jm@mayfirst.org>
Fri, 9 Oct 2009 00:21:56 +0000 (20:21 -0400)
committerJamie McClelland <jm@mayfirst.org>
Fri, 9 Oct 2009 00:21:56 +0000 (20:21 -0400)
    hard coded (missed the changes to the kvm-creator script on last
commit).

kvm-creator

index 6162241a40c2d078624ba44cda555136049c6093..7847198f3f74eb980df2c640b550b543b3fecdb1 100755 (executable)
@@ -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"