I've been testing with an alternate config file that changes the user to 'oem' instead of 'utah'. The first thing I found with this is that the sshprivatekey defaults to the oem user's home directory, so I had to change that to point to the utah user in the same config file. After that, I realized the uploadfiles method of the SSHMixin class doesn't specify a username, so all files are uploaded as the user running the script, in this case, utah. This fails when there is no utah user, but confusingly throws this exception:
paramiko.SSHException: not a valid DSA private key file
I'm going to test a utah code change to see if that in conjunction with the updated config file and the preseed changes will fix this.
I've been testing with an alternate config file that changes the user to 'oem' instead of 'utah'. The first thing I found with this is that the sshprivatekey defaults to the oem user's home directory, so I had to change that to point to the utah user in the same config file. After that, I realized the uploadfiles method of the SSHMixin class doesn't specify a username, so all files are uploaded as the user running the script, in this case, utah. This fails when there is no utah user, but confusingly throws this exception: SSHException: not a valid DSA private key file
paramiko.
I'm going to test a utah code change to see if that in conjunction with the updated config file and the preseed changes will fix this.