Project

General

Profile

« Previous | Next » 

Revision ab171b13

Added by Amir Fefer over 6 years ago

Fixes #20628 - cloned host/hostgroup should copy rootpass

When cloning host/hostgroup, root pass field should be copied too

(cherry picked from commit f44756635c250b7dac74c494e5904707b6d31a6f)

View differences:

app/views/hosts/_operating_system.html.erb
<% end %>
<div id='root_password'>
<%= password_f f, :root_pass, :help_inline => _("Password must be 8 characters or more"), :required => true, :unset => action_name == "edit" %>
<%= password_f f, :root_pass, :help_inline => _("Password must be 8 characters or more"), :required => true,
:unset => action_name == "edit", :keep_value => action_name == "clone" %>
</div>
<!-- this section is used for displaying the provisioning scripts-->
<div class="form-group">

Also available in: Unified diff