diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-11-11 16:55:45 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-11-11 16:55:45 -0500 |
commit | 7ec0b002eba10c12d3687fec7ee8afa7b1d03729 (patch) | |
tree | 05180d1d37a21b04697bcf66b684181f6b001a17 | |
parent | 7ae659fc52138afd9e0e024f2fa5bed1d489cb6a (diff) | |
download | kvm-manager-7ec0b002eba10c12d3687fec7ee8afa7b1d03729.tar.gz kvm-manager-7ec0b002eba10c12d3687fec7ee8afa7b1d03729.tar.bz2 |
make volume group default to standard vg name
-rwxr-xr-x | kvm-creator | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-creator b/kvm-creator index b27af0a..744cb96 100755 --- a/kvm-creator +++ b/kvm-creator @@ -9,7 +9,7 @@ CMD="$1" shift NAME="$1" -VG="$2" +VG="${2:-vg_$(hostname)0}" SIZE="${3:-3G}" RAM="${4:-512}" DISK="/dev/mapper/${VG}-${NAME}" |