diff --git a/vmcreate1.sh b/vmcreate1.sh index 61cae81..e7cf239 100644 --- a/vmcreate1.sh +++ b/vmcreate1.sh @@ -152,6 +152,8 @@ echo "DEBUG file: $file" if [[ $# -eq 0 && -e "$file" ]]; then touch hosts.tmp echo -n "" > hosts.tmp + echo "DEBUG" + cat "$file" for line in $(cat "$file"); do echo "DEBUG line:$line" ip=$(echo -n $line | cut -d ' ' -f 1)