diff --git a/1.Base/1.Utilities/0_setup.py b/1.Base/1.Utilities/0_setup.py index 94fd21b8967b13be7050499169ea614cb505c1ac..bb81a0e5c22a1ff0979c15dd1c7a2921c3c33791 100644 --- a/1.Base/1.Utilities/0_setup.py +++ b/1.Base/1.Utilities/0_setup.py @@ -9,7 +9,7 @@ def setup(interactive=True): cmds = [ 'apt-get clean', 'apt-get update', - 'apt-get install --yes make ipython ipython3 vim netcat git htop iotop bmon host lm-sensors pciutils ntp nfs-client smartmontools pwgen dialog curl python3-requests', + 'apt-get install --yes make ipython ipython3 vim netcat git htop iotop bmon host lm-sensors pciutils nfs-client smartmontools pwgen dialog curl python3-requests', # Locale 'locale-gen en_GB.UTF-8', 'update-locale LANG=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8', diff --git a/2.Common_services/1.Postfix/0_setup.py b/2.Common_services/1.Postfix/0_setup.py index 065167ae2f836b5c0868463c44b11e8b2fcf4bf9..c7fff0731da2159f2257de723e694e3837682698 100644 --- a/2.Common_services/1.Postfix/0_setup.py +++ b/2.Common_services/1.Postfix/0_setup.py @@ -14,7 +14,7 @@ def setup(interactive=True): # Install and configure postfix dir_path = utils.get_dir(__file__) cmds = [ - 'DEBIAN_FRONTEND=noninteractive apt-get -y install postfix mailutils', + 'DEBIAN_FRONTEND=noninteractive apt-get install -y postfix mailutils', 'echo "Replacing /etc/postfix/main.cf"', dict(line='write', template='%s/main.cf' % dir_path, target='/etc/postfix/main.cf', params=( ('{{ hostname }}', hostname), diff --git a/2.Common_services/2.NTP/0_setup.py b/2.Common_services/2.NTP/0_setup.py index c562acfc0a87bfd2b9a84cc735cae4f4cd204784..5cbf664fb2c79a87ec09a5b60d7f30fb96fba65c 100644 --- a/2.Common_services/2.NTP/0_setup.py +++ b/2.Common_services/2.NTP/0_setup.py @@ -7,6 +7,7 @@ def setup(interactive=True): dir_path = utils.get_dir(__file__) cmds = [ # NTP + 'DEBIAN_FRONTEND=noninteractive apt-get install -y ntp', 'echo "Replacing /etc/ntp.conf"', dict(line='write', template='%s/ntp.conf' % dir_path, target='/etc/ntp.conf', params=( ('{{ NTP_SERVER }}', utils.get_conf('NTP_SERVER') or utils.get_conf('NTP_SERVER1') or 'ntp.ubuntu.com'), diff --git a/tests/test_apt.sh b/tests/test_apt.sh index bc476a3af717c9335fc746f41e52767713d73bc9..43e6626ec05b68d552351edb780809f3ff9320fb 100755 --- a/tests/test_apt.sh +++ b/tests/test_apt.sh @@ -11,8 +11,8 @@ apt-get clean if ( dpkg -s sl >/dev/null 2>&1 ); then echo "Removing already installed testing package" - apt-get -y remove sl + apt-get remove -y sl fi # Installation testing package sl -apt-get update && apt-get -y install sl && apt-get -y remove sl +apt-get update && apt-get install -y sl && apt-get remove -y sl