This will automatically add the new hosts' keys to the ~/.ssh/known_hosts file without interactive prompt. This speeds up running the commands, at the slight risk of not prompting user if they trust this (new) host. The window between having created the new hosts and someone setting up a MITM scenario is miniscule enough that I felt this was an acceptable risk with the benefit of being able to get through the commands quicker (not having to pause to type 'yes' for each of the 3 worker/3 master nodes).
Canceling as project owner prefers to not create this "abstraction" which removes some of the difficulty (and hence learning benefits) of the point of this project.
Addresses issue #18
This will automatically add the new hosts' keys to the
~/.ssh/known_hosts
file without interactive prompt. This speeds up running the commands, at the slight risk of not prompting user if they trust this (new) host. The window between having created the new hosts and someone setting up a MITM scenario is miniscule enough that I felt this was an acceptable risk with the benefit of being able to get through the commands quicker (not having to pause to type 'yes' for each of the 3 worker/3 master nodes).