Update vmcreate.sh

This commit is contained in:
2025-10-24 15:05:07 +00:00
parent fbe9bde36d
commit 28c4810393

View File

@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
cat ./hosts | 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)