Update vmcreate1.sh

This commit is contained in:
2025-10-26 15:47:05 +00:00
parent 353023a5cc
commit 65762f7332

View File

@@ -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)