From c75c87255168a99a8684163f404ebf69ad75bfe5 Mon Sep 17 00:00:00 2001 From: Kai Oberbeckmann Date: Fri, 14 Jun 2024 11:12:04 +0200 Subject: [PATCH] Make installation of NFS client on Debian non-interactive to prevent the process from being stuck --- plugins/guests/debian/cap/nfs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/debian/cap/nfs.rb b/plugins/guests/debian/cap/nfs.rb index e9e0b9be64a..26e7ade3deb 100644 --- a/plugins/guests/debian/cap/nfs.rb +++ b/plugins/guests/debian/cap/nfs.rb @@ -9,7 +9,7 @@ def self.nfs_client_install(machine) comm = machine.communicate comm.sudo <<-EOH.gsub(/^ {12}/, '') apt-get -yqq update - apt-get -yqq install nfs-common portmap + DEBIAN_FRONTEND=noninteractive apt-get -yqq install nfs-common portmap exit $? EOH end