From 7ec0b002eba10c12d3687fec7ee8afa7b1d03729 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Wed, 11 Nov 2009 16:55:45 -0500 Subject: make volume group default to standard vg name --- kvm-creator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvm-creator') 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}" -- cgit v1.2.3