Automating restart

Hi Guys, when restarting the cluster (4 machines), you are asked to enter the password for each node, as well as the Y for confirming the operation.
I do this with the command memsql-admin restart-node --all, but as I am repeating this operation a few times, I wonder if there is a way to automate this. A single shell command or something with python would help a lot.

How’d you do your install? If I use

memsql-admin create-node -p mypassword

when building my cluster, I can then do

memsql-admin restart-node --all

without a password.