Update vmcreate1.sh
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user