Autoyast <authorized_keys> tag fails to create root's authorized_keys file
This document (7022782) is provided subject to the disclaimer at the end of this document.
Environment
Situation
<users config:type="list">
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>root</fullname>
<gid>0</gid>
<home>/root</home>
<authorized_keys config:type="list">
<listentry>ssh-rsa ...</listentry>
<listentry>ssh-rsa ...</listentry>
</authorized_keys>
<shell>/bin/bash</shell>
<uid>0</uid>
<user_password>PASSWORD</user_password>
<username>root</username>
</user>
</users>
Resolution
When applying the DUD do the following:
1. Boot from the installation media
2. Select Installation
3. Include something similar on the Boot Options line:
textmode=1 netsetup=dhcp autoyast=http://server/autoinst.xml dud=http://server/yast2-users-3.2.14-3.9.1.x86_64.rpm
Requires yast2-users-3.2.14-3.9.1 or later.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7022782
- Creation Date: 27-Mar-2018
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com