Update vmcreate1.sh
This commit is contained in:
@@ -93,7 +93,7 @@ embed_key(){
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
cat $file | while read line
|
for line in $(<$hosts)
|
||||||
do
|
do
|
||||||
ip=$(echo $line | cut -d ' ' -f 1)
|
ip=$(echo $line | cut -d ' ' -f 1)
|
||||||
hostname=$(echo $line | cut -d ' ' -f 2)
|
hostname=$(echo $line | cut -d ' ' -f 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user