View Single Post
Old 2016-01-16, 16:37   #10
chris2be8's Avatar
Sep 2009

22·3·167 Posts

Originally Posted by Batalov View Post
What I've gathered is that NVIDIA makes this non-automatable deliberately. I still have to type 'accept' every time I install
# ssh into a new EC2 node
sudo yum -y update
sudo yum -y install tcsh wget bc perl unzip gcc gcc-c++ openssh-clients diffutils gmp-devel kernel-devel-`uname -r`

sudo sh ./
Read up on Expect. I used the perl expect module to automate setting a new user's password. There's also a program called expect which is easier to call from a shell script (other parts of the user setup script were already in perl so that was the obvious choice in my case).

You only need to install expect on the system you are connecting to the new node from, it can automate responses to a SSH session.

chris2be8 is offline   Reply With Quote