aboutsummaryrefslogtreecommitdiff
path: root/templates/sshd_config/Ubuntu_lucid.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sshd_config/Ubuntu_lucid.erb')
-rw-r--r--templates/sshd_config/Ubuntu_lucid.erb4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/sshd_config/Ubuntu_lucid.erb b/templates/sshd_config/Ubuntu_lucid.erb
index 1c44c7b..304558b 100644
--- a/templates/sshd_config/Ubuntu_lucid.erb
+++ b/templates/sshd_config/Ubuntu_lucid.erb
@@ -180,9 +180,7 @@ AllowUsers <%= sshd_allowed_users -%>
AllowGroups <%= sshd_allowed_groups %>
<%- end %>
-<%- if sshd_print_motd.to_s == 'no' then -%>
-PrintMotd no
-<%- end -%>
+PrintMotd <%= sshd_print_motd %>
<%- unless sshd_tail_additional_options.to_s.empty? then %>
<%= sshd_tail_additional_options %>