Hello, I'm making my own autoinst.xml files. Everything works fine but I cannot give a user authorized_keys file. After installing, I login and find there is no $HOME/.ssh/authorized_keys files, even no $HOME/.ssh folder.
Below is part of autoinst.xml:
<user t="map"> <username>user_name</username> <encrypted t="boolean">true</encrypted> <user_password>xxxxxxxxxxxx</user_password> <authorized_keys t="list"> <authorized_key>ssh-rsa xxxxxxxxxx</authorized_key> </authorized_keys> </user>
Is there a bug that authorized_keys cannot be assigned in AutoYast? Thank you.
On 10/28/21 13:42, - - wrote:
Hello, I'm making my own autoinst.xml files. Everything works fine but I cannot give a user authorized_keys file. After installing, I login and find there is no $HOME/.ssh/authorized_keys files, even no $HOME/.ssh folder.
Below is part of autoinst.xml:
<user t="map"> <username>user_name</username> <encrypted t="boolean">true</encrypted> <user_password>xxxxxxxxxxxx</user_password> <authorized_keys t="list"> <authorized_key>ssh-rsa xxxxxxxxxx</authorized_key> </authorized_keys> </user>
Is there a bug that authorized_keys cannot be assigned in AutoYast? Thank you.
None we are currently aware of. But it could be. Please open a bug report specifying the distribution and exact version and also attaching the YaST logs as explained at https://en.opensuse.org/openSUSE:Report_a_YaST_bug
Thanks
Thank you, Ancor!
continued in https://bugzilla.opensuse.org/show_bug.cgi?id=1192178
autoinstall@lists.opensuse.org