From: Peter Palfrader Date: Wed, 2 Nov 2011 14:31:11 +0000 (+0100) Subject: per guest target dir for installs X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=commitdiff_plain;h=b105d901b241b1b1063ae91cec9b6ceca753d216 per guest target dir for installs --- 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]: " &&