05/12/2017 (Fri) 19:28:53
All the read lines are there so you can see what the result of the last command was before moving on to the next one by hitting enter.
It's possible that the CentOS 7 Minimal you run this on will be configured somewhat differently than what I've used, which may cause certain commands to not do what we want. Seeing the output allows you to decide whether you can still continue by hitting enter or need to stop the script by hitting ctrl+c. If you take the second option, you can fix whatever misconfiguration or whatever happened, comment out commands up to where the problem happened, and restart where you left off. Make sure, however, that the script cds to the directory it needs to be in to run the commands the script now starts with.