From 4d091d8c27c4787ff95978bb09543a885c8544e4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 9 Mar 2017 22:58:43 -0300 Subject: Append project name into STATE_DIR to avoid conflicts if images are in the same folder --- kvmx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3