From bcc392ffc780c297299d87d57f96a16487bc6d1a Mon Sep 17 00:00:00 2001 From: Danil Titarenko <77471369+danilapog@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:11:31 +0300 Subject: [PATCH] Use systemctl for disable postfix before it removed (#51) --- tests/vagrant/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/vagrant/install.sh b/tests/vagrant/install.sh index 2f8dddb..84c4d5d 100644 --- a/tests/vagrant/install.sh +++ b/tests/vagrant/install.sh @@ -150,7 +150,9 @@ function prepare_vm() { apt install -y curl gnupg fi - apt-get remove postfix -y + systemctl stop postfix + systemctl disable postfix + apt-get remove postfix -y echo "${COLOR_GREEN}☑ PREPAVE_VM: Postfix was removed${COLOR_RESET}" fi