Project

General

Profile

« Previous | Next » 

Revision c3a26ef3

Added by Dominic Cleal about 9 years ago

templates - sync from community-templates

(cherry picked from commit 14e932fb6243f408274dd090dd492664f079393e)

View differences:

app/views/unattended/kickstart/finish.erb
puppet_enabled = pm_set || @host.params['force-puppet'] && @host.params['force-puppet'] == 'true'
%>
<% if @host.provision_method == 'image' && root_pass.present? -%>
<% if @host.provision_method == 'image' && !root_pass.empty? -%>
# Install the root password
echo 'root:<%= root_pass -%>' | /usr/sbin/chpasswd -e
<% end -%>

Also available in: Unified diff