diff --git a/vmcreate1.sh b/vmcreate1.sh index 2138719..099a4da 100644 --- a/vmcreate1.sh +++ b/vmcreate1.sh @@ -93,7 +93,7 @@ embed_key(){ -cat $file | while read line +for line in $(<$hosts) do ip=$(echo $line | cut -d ' ' -f 1) hostname=$(echo $line | cut -d ' ' -f 2)