Kickstart sshpw not working in included file
Posted: 2019/11/26 23:52:44
I have a kickstart file with the options:
This works perfectly without any problems. However, if I put these same exact commands into a file and %include them, it does not work:
Everything else in the KS remains the same when changing between these two methods.
Any thoughts?
Code: Select all
sshpw --username=root root --lock
sshpw --username=temp root
Code: Select all
%pre --interpreter=/bin/bash
echo "sshpw --username=root root --lock" > /tmp/lockRoot
echo "sshpw --username=temp root" >> /tmp/lockRoot
%end
%include /tmp/lockRoot
Any thoughts?