From c97339cdd5c90aaa4667f6ff075ad820c9e9028e Mon Sep 17 00:00:00 2001 From: Beth Date: Sat, 29 Mar 2025 17:14:22 -0500 Subject: [PATCH] fix path --- scripts/create.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/create.sh b/scripts/create.sh index a5cce8d..d5db7e7 100644 --- a/scripts/create.sh +++ b/scripts/create.sh @@ -39,6 +39,9 @@ while true; do read -p "Full path to extra disk to attach (if applicable, defaul while true; do read -p "Autodeflate memory on use y/n (default $deflate)? " v;if [ -z $v ]; then break;elif [ "$v" == "y" ];then break; elif [ "$v" == "n" ];then deflate=$v;break;else echo "error: select y or n";fi;done while true; do read -p "Autorun ansible build script (default $ansible)? " v;if [ -z $v ]; then break;elif [ "$v" == "y" ];then break; elif [ "$v" == "n" ];then ansible=$v;break;else echo "error: select y or n";fi;done +path=`echo $path | sed -s 's/\/\//\//'` +attach=`echo $attach | sed -s 's/\/\//\//'` + echo "" echo "Name: $name" echo "CPU: $cpu"