Actions
Feature #30792
closedSet root password for preseed image-based deployment
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Description
When deploying an Ubuntu/Debian host using the image-based deployment the root password is not set/changed. The mechanism requires the password to be set in the finish template (Preseed default finish). This can be achieved adding following lines:
<% if @host.provision_method == 'image' && root_pass.present? -%>
# Install the root password
echo 'root:<%= root_pass -%>' | /usr/sbin/chpasswd -e
<% end -%>
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7968 added
Updated by Fabrice Brimioulle over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|65230156d6bebe48f2d48f30710fc3d575db7225.
Actions