From b105d901b241b1b1063ae91cec9b6ceca753d216 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 2 Nov 2011 15:31:11 +0100 Subject: [PATCH] per guest target dir for installs --- input/howto/install-kvm.creole | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/howto/install-kvm.creole b/input/howto/install-kvm.creole index ae3188a..02903e4 100644 --- a/input/howto/install-kvm.creole +++ b/input/howto/install-kvm.creole @@ -12,7 +12,7 @@ setup_env() { echo -n "New hostname: " && export LC_ALL=C && read guest && - target=/mnt/target && + target="/mnt/target-$guest" && mirror=`cat /etc/apt/sources.list /etc/apt/sources.list.d/debian.list 2>/dev/null | awk '/^deb.*debian/ {print $2; exit}'` && vgdefault=`vgdisplay -c | awk -F: '{print $1;exit}' | sed 's/ *//g'` && echo -n "Volume group? [$vgdefault]: " && -- 2.20.1