Update vmcreate1.sh

This commit is contained in:
2025-10-26 15:36:57 +00:00
parent 4cd530c086
commit ab544b776a

View File

@@ -148,6 +148,7 @@ if [[ $# -ne 0 && -v "$file" ]]; then
fi
# Проверка файла на соответствие шаблону IPv4 адреса и hostname, создаём временный файл из валидных строк
echo "DEBUG file: $file"
if [[ $# -eq 0 && -e "$file" ]]; then
touch hosts.tmp
echo -n "" > hosts.tmp