From: Silvio Rhatto Date: Fri, 10 Mar 2017 01:58:43 +0000 (-0300) Subject: Append project name into STATE_DIR to avoid conflicts if images are in the same folder X-Git-Tag: 0.1.0~592 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4d091d8c27c4787ff95978bb09543a885c8544e4;p=kvmx.git Append project name into STATE_DIR to avoid conflicts if images are in the same folder --- diff --git a/kvmx b/kvmx index 0ac2776..16ff3eb 100755 --- a/kvmx +++ b/kvmx @@ -213,7 +213,7 @@ function kvmx_initialize { # Box and folder config STORAGE="`dirname $image`" - STATE_DIR="$STORAGE/state" + STATE_DIR="$STORAGE/state/$VM" PIDFILE="$STATE_DIR/pid" PORTFILE="$STATE_DIR/port" SSHFILE="$STATE_DIR/ssh"