From 5660a6bad1d564c74b8fa69bdedfb979ebeda007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu> Date: Tue, 3 Jan 2017 09:04:28 +0100 Subject: [PATCH] Added apt-get clean in step 1. --- 1.Utilities/0_setup.py | 1 + envsetup.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/1.Utilities/0_setup.py b/1.Utilities/0_setup.py index 837ef816..43356ff9 100644 --- a/1.Utilities/0_setup.py +++ b/1.Utilities/0_setup.py @@ -7,6 +7,7 @@ import utils 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 munin munin-node pciutils ntp nfs-client smartmontools pwgen ntpdate dialog', '[ -f ~/.vimrc ] || echo "color ron" > ~/.vimrc', diff --git a/envsetup.py b/envsetup.py index e52df8ae..1dcc7267 100755 --- a/envsetup.py +++ b/envsetup.py @@ -91,8 +91,8 @@ class EnvSetup(): log(' c: Configuration status') log(' e: Exit\n') log('Info:') - log('\033[0;36m To setup a system entirely for a determined purpose (Worker, MS, CM, ...), you can use envsetup-launcher:\033[0m') - log('\033[0;36m bash /root/envsetup/envsetup-launcher.sh\033[0m') + log('\033[0;36m To setup a system entirely for a determined purpose (Worker, MS, CM, ...), you can use the launcher:\033[0m') + log('\033[0;36m bash /root/envsetup/launcher.sh\033[0m') log('\nWhat action do you want to start ?') try: target = input('---> ').strip() -- GitLab