From 5daa911a8a6c61c6f0dadad97be45444ed81f9df Mon Sep 17 00:00:00 2001 From: Marat Salimzianov Date: Thu, 21 Dec 2023 15:33:21 +0100 Subject: [PATCH] Use noninteractive mode when using pam-auth-update for debian --- .../partial/_system_authentication_debian.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/aws-parallelcluster-environment/resources/system_authentication/partial/_system_authentication_debian.rb b/cookbooks/aws-parallelcluster-environment/resources/system_authentication/partial/_system_authentication_debian.rb index 3cf849b6b..72e745575 100644 --- a/cookbooks/aws-parallelcluster-environment/resources/system_authentication/partial/_system_authentication_debian.rb +++ b/cookbooks/aws-parallelcluster-environment/resources/system_authentication/partial/_system_authentication_debian.rb @@ -15,6 +15,7 @@ action :configure do execute 'Configure Directory Service' do user 'root' + environment 'DEBIAN_FRONTEND' => 'noninteractive' # Enable PAM mkhomedir module command "pam-auth-update --enable mkhomedir" default_env true