diff --git a/lib/tasks/updateDebian.js b/lib/tasks/updateDebian.js index bca4276..2bb0556 100644 --- a/lib/tasks/updateDebian.js +++ b/lib/tasks/updateDebian.js @@ -1,8 +1,8 @@ export const updateDebian = async (connection) => { await connection.exec([ - 'sudo apt-get -qy update', - 'sudo apt-get -qy upgrade', - 'sudo apt-get -qy autoremove' + 'DEBIAN_FRONTEND=noninteractive sudo apt-get -qy update', + 'DEBIAN_FRONTEND=noninteractive sudo apt-get -qy upgrade', + 'DEBIAN_FRONTEND=noninteractive sudo apt-get -qy autoremove' ].join('\n')); };